Build [v1.9.5] (Bulletproof Deployment with visible inventory.env and deploy.sh)

This commit is contained in:
Daniel Bedeleanu
2026-04-13 21:32:49 +03:00
parent a0eaddf994
commit 7c3d0e102f
7 changed files with 54 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ services:
ports:
- ${BACKEND_PORT:-8000}:8000
env_file:
- .env
- inventory.env
volumes:
- ./data:/app/data
- ./logs:/app/logs
@@ -28,7 +28,7 @@ services:
ports:
- ${FRONTEND_PORT:-3000}:3000
env_file:
- .env
- inventory.env
volumes:
- ./logs:/app/logs
# Write Next.js logs to both stdout (docker logs) and file (mapped volume)
@@ -43,7 +43,7 @@ services:
- ${BACKEND_SSL_PORT:-3002}:${BACKEND_SSL_PORT:-3002}
- ${FRONTEND_SSL_PORT:-3003}:${FRONTEND_SSL_PORT:-3003}
env_file:
- .env
- inventory.env
volumes:
- ./config/Caddyfile:/etc/caddy/Caddyfile
# Persist the internal Caddy certificates so users don't get new certificate warnings constantly