docker-vm-compose/vscode-server/compose.yml

21 lines
524 B
YAML

services:
code-server:
container_name: vscode-server
image: lscr.io/linuxserver/code-server:latest
environment:
- PUID=1001
- PGID=1001
- TZ=Europe/Berlin
- HASHED_PASSWORD=${HASHED_PASSWORD}
- SUDO_PASSWORD_HASH=${SUDO_HASHED_PASSWORD}
- PROXY_DOMAIN=${PROXY_DOMAIN}
- DEFAULT_WORKSPACE=${DEFAULT_WORKSPACE}
volumes:
- ../:/workspace
- ./vscode-server/config:/config
ports:
- 8443:8443
restart: unless-stopped
env_file:
- .env