added code server

This commit is contained in:
2026-01-27 11:03:19 +01:00
commit 2d1c96be17

21
code_server.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=${PUID:-default 1000}
- PGID=${PGID:-default 1000}
- TZ=${TZ:-default}
- PASSWORD=${PASSWORD:-default} #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:
- ./config:/config
ports:
- ${PORT:-default}:8443
restart: unless-stopped