Compose-Examples/code-server/docker-compose.yml
2023-02-15 22:45:31 +01:00

21 lines
567 B
YAML

---
version: "2.1"
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- PASSWORD=MyStrongLoginPassword
- SUDO_PASSWORD=MyOptionalStrongSudoPassword #optional
#- SUDO_PASSWORD_HASH= #optional
- PROXY_DOMAIN=vscode.example.com #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /mnt/docker-volumes/vscode/config:/config
ports:
- 8443:8443
restart: unless-stopped