thedocks/code-server4/docker-compose.yml

19 lines
422 B
YAML
Raw Normal View History

2022-01-06 16:54:13 +00:00
---
version: "2.1"
services:
code-server:
2022-10-21 18:28:15 +01:00
image: ghcr.io/linuxserver/code-server
2022-01-06 16:54:13 +00:00
container_name: code-server4
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- SUDO_PASSWORD=password #optional
- SUDO_PASSWORD_HASH= #optional
volumes:
- ./config:/config
2022-04-18 22:47:42 +01:00
- /var/run/docker.sock:/var/run/docker.sock
2022-01-06 16:54:13 +00:00
ports:
- 8444:8443
restart: unless-stopped