Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Bedeleanu
a2f6cab492 Build [v1.9.9] (Emergency: Direct HTTP Fallback & Diagnostic Logs) 2026-04-13 21:57:51 +03:00
Daniel Bedeleanu
476fda7203 Build [v1.9.8] (Final Stability: Static Internal Port Mapping) 2026-04-13 21:48:40 +03:00
4 changed files with 22 additions and 8 deletions

View File

@@ -1,9 +1,13 @@
https://:{$FRONTEND_SSL_PORT} {
# TFM aInventory - Caddy Static Internal Configuration
# We use standard ports 443/444 internally to decouple from host-side dynamic ports.
https://:443 {
tls internal
reverse_proxy frontend:3000
}
https://:{$BACKEND_SSL_PORT} {
# Backend SSL Proxy
https://:444 {
tls internal
reverse_proxy backend:8000
}

View File

@@ -26,7 +26,17 @@ echo "🚀 Building and starting containers..."
docker compose --env-file inventory.env up -d --build --remove-orphans
echo ""
echo "✅ Deployment requested."
echo " Access URL: https://${SERVER_IP:-localhost}:${FRONTEND_SSL_PORT:-8919}"
echo " Run 'docker compose ps' to check status."
echo "🔍 Verifying port mapping..."
docker compose ps --format "table {{.Name}}\t{{.Status}}\t{{.Ports}}"
echo ""
echo "🚀 DIAGNOSTIC LOGS (Proxy SSL Handshake):"
docker compose logs proxy --tail 20
echo ""
echo "✅ Deployment requested."
echo " ------------------------------------------------------------"
echo " 1. SECURE ACCESS (Try first): https://${SERVER_IP:-localhost}:${FRONTEND_SSL_PORT:-8919}"
echo " 2. DIRECT ACCESS (Fallback): http://${SERVER_IP:-localhost}:${FRONTEND_PORT:-8917}"
echo " ------------------------------------------------------------"
echo ""

View File

@@ -40,8 +40,8 @@ services:
networks:
- inventory_net
ports:
- ${BACKEND_SSL_PORT:-3002}:${BACKEND_SSL_PORT:-3002}
- ${FRONTEND_SSL_PORT:-3003}:${FRONTEND_SSL_PORT:-3003}
- ${BACKEND_SSL_PORT:-8918}:444
- ${FRONTEND_SSL_PORT:-8919}:443
env_file:
- inventory.env
volumes:

View File

@@ -1 +1 @@
{"version": "1.9.7", "last_build": "2026-04-13-2142", "codename": "SSLFix", "commit": "e5194a1d"}
{"version": "1.9.8", "last_build": "2026-04-13-2148", "codename": "FinalStability", "commit": "476fda72"}