code-server #3
2 changed files with 6 additions and 4 deletions
|
@ -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
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue