Add code-server/docker-compose.yml

This commit is contained in:
2025-09-21 01:34:01 +00:00
parent 48c6aedb06
commit 8d03f2a44f
+26
View File
@@ -0,0 +1,26 @@
networks:
default:
external:
name: nginx-network
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
#- PASSWORD=password #optional
#- HASHED_PASSWORD= #optional
#- SUDO_PASSWORD=password #optional
#- SUDO_PASSWORD_HASH= #optional
#- PROXY_DOMAIN=code-server.my.domain #optional
#- DEFAULT_WORKSPACE=/config/workspace #optional
#- PWA_APPNAME=code-server #optional
volumes:
- /srv/code-server/config:/config
- /srv/dashy:/mnt/dashy
ports:
- 8443:8443
restart: unless-stopped