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

@@ -0,0 +1,21 @@
version: '3'
services:
nginx:
image: nginx
volumes:
- nginx-conf.d:/etc/nginx/conf.d
- etc_ssl:/etc/ssl
ports:
- 443:443
- 80:80
networks:
- public
- private
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
restart: unless-stopped
volumes:
nginx-conf.d:
etc_ssl:
networks:
public:
private: