add init configurations for vscode-server
This commit is contained in:
parent
313783cf88
commit
769208a7be
|
@ -1,5 +1,6 @@
|
||||||
services:
|
services:
|
||||||
stirling-pdf:
|
stirling-pdf:
|
||||||
|
container_name: stirling-pdf
|
||||||
image: frooodle/s-pdf:latest
|
image: frooodle/s-pdf:latest
|
||||||
ports:
|
ports:
|
||||||
- '55556:8080'
|
- '55556:8080'
|
||||||
|
@ -11,4 +12,4 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_ENABLE_SECURITY=false
|
- DOCKER_ENABLE_SECURITY=false
|
||||||
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
|
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
|
||||||
- LANGS=en_GB
|
- LANGS=en_GB
|
||||||
|
|
4
vscode-server/.env.example
Normal file
4
vscode-server/.env.example
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
HASHED_PASSWORD=
|
||||||
|
SUDO_HASHED_PASSWORD=
|
||||||
|
PROXY_DOMAIN=
|
||||||
|
DEFAULT_WORKSPACE=
|
19
vscode-server/compose.yml
Normal file
19
vscode-server/compose.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
code-server:
|
||||||
|
container_name: vscode-server
|
||||||
|
image: lscr.io/linuxserver/code-server:latest
|
||||||
|
environment:
|
||||||
|
- PUID=1001
|
||||||
|
- PGID=1001
|
||||||
|
- TZ=Europe/Berlin
|
||||||
|
- HASHED_PASSWORD=${HASHED_PASSWORD}
|
||||||
|
- SUDO_PASSWORD_HASH=${SUDO_HASHED_PASSWORD}
|
||||||
|
- PROXY_DOMAIN=${PROXY_DOMAIN}
|
||||||
|
- DEFAULT_WORKSPACE=${DEFAULT_WORKSPACE}
|
||||||
|
volumes:
|
||||||
|
- /opt/stacks/vscode-server/config:/config
|
||||||
|
ports:
|
||||||
|
- 8443:8443
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
Loading…
Reference in a new issue