code-server #3

Merged
kevinheyer merged 3 commits from code-server into main 2025-03-18 03:55:22 +00:00
2 changed files with 6 additions and 4 deletions
Showing only changes of commit d17da372b2 - Show all commits

View file

@ -3,3 +3,6 @@ CODESERVER_VERSION=latest
# Code-Server Domain # Code-Server Domain
CODESERVER_DOMAIN=code.example.com CODESERVER_DOMAIN=code.example.com
# Code-Server Login Password
CODESERVER_PASSWORD=secret_password

View file

@ -4,13 +4,12 @@ services:
container_name: code-server container_name: code-server
environment: environment:
- DOCKER_USER=$USER - DOCKER_USER=$USER
user: '$(id -u):$(id -g)' - PASSWORD=${CODESERVER_PASSWORD:?error}
tty: true tty: true
stdin_open: true stdin_open: true
volumes: volumes:
- './data/project:/home/coder/project' - './data/project:/home/coder/project'
- './data/config:/home/coder/.config' - './data/config:/config'
- './data/local:/home/coder/.local'
networks: networks:
- traefik - traefik
labels: labels: