thedocks/code-server/docker-compose.yml
2021-11-10 22:19:52 +00:00

19 lines
440 B
YAML

---
version: "2.1"
services:
code-server:
image: ghcr.io/linuxserver/code-server:version-v3.12.0
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- SUDO_PASSWORD=password #optional
- SUDO_PASSWORD_HASH= #optional
volumes:
- ./config:/config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8443:8443
restart: unless-stopped