Files

22 lines
633 B
YAML
Raw Permalink Normal View History

2026-01-27 11:03:19 +01:00
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
2026-01-30 08:31:39 +01:00
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
2026-01-27 11:03:19 +01:00
- TZ=${TZ:-default}
2026-01-30 08:31:39 +01:00
- PASSWORD=${PASSWORD:-secure_password} #optional
2026-01-27 11:03:19 +01:00
#- 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:
2026-01-30 08:31:39 +01:00
- ${PORT:-8443}:8443
2026-01-27 11:03:19 +01:00
restart: unless-stopped