Build [v1.9.1] (CORS Dynamic IP Resolution Fix)

This commit is contained in:
Daniel Bedeleanu
2026-04-13 20:52:29 +03:00
parent 65cc0c7b6d
commit 07b15c8e01
3 changed files with 36 additions and 9 deletions

View File

@@ -16,7 +16,10 @@ services:
environment:
- DATA_DIR=/app/data
- LOGS_DIR=/app/logs
- ALLOWED_ORIGINS=http://localhost:${FRONTEND_PORT:-3001},https://localhost:${FRONTEND_SSL_PORT:-3003},http://${SERVER_IP:-localhost}:${FRONTEND_PORT:-3001},https://${SERVER_IP:-localhost}:${FRONTEND_SSL_PORT:-3003},https://localhost:${BACKEND_SSL_PORT:-3002},https://${SERVER_IP:-localhost}:${BACKEND_SSL_PORT:-3002}
- SERVER_IP=${SERVER_IP}
- FRONTEND_PORT=${FRONTEND_PORT}
- FRONTEND_SSL_PORT=${FRONTEND_SSL_PORT}
- BACKEND_SSL_PORT=${BACKEND_SSL_PORT}
# [C-01] JWT secret key — GENERATE A SECURE VALUE FOR PRODUCTION!
- JWT_SECRET_KEY=${JWT_SECRET_KEY:-change_me_in_production}
restart: unless-stopped