Add cross-dashboard header links (UPLOAD_DASHBOARD_URL, LIVE_DASHBOARD_URL)

This commit is contained in:
proitlab committed 2026-08-05 07:58:00 +07:00
1 parent 99e126de1b
commit 89673db0bf
9 files changed
+16 -2

No files matched your search

+4
View File
@@ -159,6 +159,8 @@ SECRET_KEY=change-me-in-production
DASHBOARD_HOST=0.0.0.0
# Listen port for the dashboard web UI
DASHBOARD_PORT=5000
# URL of the upload recounting dashboard (recounting_dashboard_upload.py); empty hides the header link
UPLOAD_DASHBOARD_URL=http://localhost:5003
# Enable Flask debug mode (true/false) — auto-reloads on code changes; disable in production
FLASK_DEBUG=false
# Fallback name for the active-batch JSON state file used by the dashboard
@@ -188,3 +190,5 @@ UPLOAD_DIR=/opt/bytetrack-counter/uploads
RECOUNT_CMD=bytetrack-counter config.env --source {path}
# Template file for the upload dashboard: "recounting_upload.html" (default)
RECOUNTING_UPLOAD_TEMPLATE=recounting_upload.html
# URL of the live counter dashboard (counter_dashboard.py); empty hides the header link
LIVE_DASHBOARD_URL=http://localhost:5000