traefik/code/docker-compose.yml

22 lines
934 B
YAML
Raw Permalink Normal View History

2024-10-20 15:08:19 +00:00
---
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
# - DOCKER_MODS='docker.io/linuxserver/mods:universal-docker|lscr.io/linuxserver/mods:code-server-docker|docker.io/linuxserver/mods:code-server-extension-arguments'
2024-10-21 06:10:12 +00:00
- DOCKER_MODS=linuxserver/mods:universal-docker|linuxserver/mods:code-server-docker|linuxserver/mods:code-server-extension-arguments|linuxserver/mods:code-server-zsh
2024-10-20 15:08:19 +00:00
- VSCODE_EXTENSION_IDS=felipecaputo.git-project-manager|mhutchie.git-graph|ms-azuretools.vscode-docker
# - DOCKER_MODS_FORCE_REGISTRY=true
- PUID=0
- PGID=0
- TZ=Etc/UTC
volumes:
- /volume1/docker/code/config:/config
- /volume1/docker/code/workspace:/home/coder/workspace
2024-10-21 06:05:54 +00:00
- /volume1/docker/code/home:/root
2024-10-20 15:08:19 +00:00
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8090:8443
restart: unless-stopped