This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
dibbly-web:
|
||||
image: reg.dev.nervesocket.com/dibbly:latest
|
||||
@@ -14,11 +12,6 @@ services:
|
||||
- DATA_DIR=/data
|
||||
- PORT=3456
|
||||
- NODE_ENV=production
|
||||
networks:
|
||||
- dibbly-network
|
||||
# Use host networking on Linux for Wemo SSDP discovery
|
||||
# Uncomment the line below if running on Linux
|
||||
# network_mode: host
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3456/"]
|
||||
interval: 30s
|
||||
@@ -37,30 +30,8 @@ services:
|
||||
reservations:
|
||||
memory: 128M
|
||||
|
||||
# Optional: Reverse proxy for SSL termination
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: dibbly-nginx
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./nginx/ssl:/etc/nginx/ssl:ro
|
||||
networks:
|
||||
- dibbly-network
|
||||
depends_on:
|
||||
- dibbly-web
|
||||
profiles:
|
||||
- with-nginx
|
||||
|
||||
volumes:
|
||||
dibbly-data:
|
||||
driver: local
|
||||
dibbly-logs:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
dibbly-network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user