Update service ports to 12015 for backend and 12016 for frontend; adjust configurations and documentation accordingly

This commit is contained in:
2026-04-29 11:52:12 +02:00
parent d484721a94
commit abd61798c7
11 changed files with 59 additions and 57 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose port
EXPOSE 12001
EXPOSE 12016
# Run the application
CMD ["gunicorn", "app.main:app", "--bind", "0.0.0.0:12001", "--workers", "2", "--timeout", "120"]
CMD ["gunicorn", "app.main:app", "--bind", "0.0.0.0:12016", "--workers", "2", "--timeout", "120"]
+3 -2
View File
@@ -3,7 +3,8 @@ import os
class Config:
SECRET_KEY = os.getenv("FLASK_SECRET_KEY", "dev-secret-change-in-production")
BACKEND_URL = os.getenv("BACKEND_URL", "http://localhost:12000")
SECRET_KEY = os.getenv(
"FLASK_SECRET_KEY", "dev-secret-change-in-production")
BACKEND_URL = os.getenv("BACKEND_URL", "http://localhost:12015")
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = "Lax"
+1 -1
View File
@@ -79,6 +79,6 @@ document.addEventListener("DOMContentLoaded", () => {
} catch (e) {
console.error("Video polling error:", e);
}
}, 12001);
}, 12016);
}
});