Add code-server/docker-compose.yml
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: nginx-network
|
||||||
|
|
||||||
|
services:
|
||||||
|
code-server:
|
||||||
|
image: lscr.io/linuxserver/code-server:latest
|
||||||
|
container_name: code-server
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=America/New_York
|
||||||
|
#- PASSWORD=password #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:
|
||||||
|
- /srv/code-server/config:/config
|
||||||
|
- /srv/dashy:/mnt/dashy
|
||||||
|
ports:
|
||||||
|
- 8443:8443
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user