fest: zigbee2mqtt, nginx, code-server

This commit is contained in:
2024-05-25 10:23:34 +01:00
parent 91bfb4a9ac
commit 877ab22566
5 changed files with 80 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
# stack name : code-server
version: '3'
services:
code-server:
@@ -10,11 +11,14 @@ services:
- PASSWORD=${CODESERVER_PASSWORD}
- DEFAULT_WORKSPACE=/config/workspace
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- code-server_config:/config
- code-server_root:/root
- has_config:/mnt/has_config
- nginx_conf:/mnt/nginx_config
- ssl_data:/mnt/ssl_data
- mosquitto_config:/mnt/mosquitto_config
- zigbee2mqtt_data:/mnt/zigbee2mqtt_data
- hostfs:/mnt/hostfs
networks:
- code
@@ -23,6 +27,9 @@ services:
- 8444:8443
restart: unless-stopped
volumes:
zigbee2mqtt_data:
name: zigbee2mqtt_data
external: true
code-server_config:
code-server_root:
has_config:
@@ -33,6 +40,9 @@ volumes:
nginx_conf:
name: reverseproxy_nginx-conf.d
external: true
ssl_data:
name: reverseproxy_etc_ssl
external: true
mosquitto_config:
external: true
networks: