updated to get card name

This commit is contained in:
DigiServer Developer
2025-12-13 21:51:45 +02:00
parent 0dfeb0ef7f
commit 87709bab4d
12 changed files with 347 additions and 33 deletions

View File

@@ -4,8 +4,8 @@ services:
digiserver:
build: .
container_name: digiserver-v2
expose:
- "5000"
ports:
- "8080:5000" # Expose for nginx reverse proxy
volumes:
- ./instance:/app/instance
- ./app/static/uploads:/app/app/static/uploads
@@ -21,33 +21,37 @@ services:
timeout: 10s
retries: 3
start_period: 40s
networks:
- digiserver-network
# Commented out network when using external nginx proxy
# networks:
# - digiserver-network
caddy:
image: caddy:2-alpine
container_name: digiserver-caddy
ports:
- "80:80"
- "443:443"
- "443:443/udp" # HTTP/3
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
- caddy-config:/config
environment:
- DOMAIN=${DOMAIN:-localhost}
- EMAIL=${EMAIL:-admin@localhost}
depends_on:
- digiserver
restart: unless-stopped
networks:
- digiserver-network
# Caddy reverse proxy (commented out when using external nginx)
# Uncomment the section below if you want standalone deployment with automatic HTTPS
# caddy:
# image: caddy:2-alpine
# container_name: digiserver-caddy
# ports:
# - "80:80"
# - "443:443"
# - "443:443/udp" # HTTP/3
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile:ro
# - caddy-data:/data
# - caddy-config:/config
# environment:
# - DOMAIN=${DOMAIN:-localhost}
# - EMAIL=${EMAIL:-admin@localhost}
# depends_on:
# - digiserver
# restart: unless-stopped
# networks:
# - digiserver-network
networks:
digiserver-network:
driver: bridge
# Commented out when using external nginx proxy
# networks:
# digiserver-network:
# driver: bridge
volumes:
caddy-data:
caddy-config:
# volumes:
# caddy-data:
# caddy-config: