27 lines
748 B
Plaintext
27 lines
748 B
Plaintext
# MES Dashboard runtime contract (version 2026.02-p2)
|
|
|
|
# Conda runtime
|
|
CONDA_BIN=/opt/miniconda3/bin/conda
|
|
CONDA_ENV_NAME=mes-dashboard
|
|
|
|
# Single-port serving contract
|
|
GUNICORN_BIND=0.0.0.0:8080
|
|
|
|
# Watchdog/runtime paths
|
|
WATCHDOG_RUNTIME_DIR=/run/mes-dashboard
|
|
WATCHDOG_RESTART_FLAG=/run/mes-dashboard/mes_dashboard_restart.flag
|
|
WATCHDOG_PID_FILE=/run/mes-dashboard/gunicorn.pid
|
|
WATCHDOG_STATE_FILE=/var/lib/mes-dashboard/restart_state.json
|
|
WATCHDOG_CHECK_INTERVAL=5
|
|
|
|
# Runtime contract enforcement
|
|
RUNTIME_CONTRACT_VERSION=2026.02-p2
|
|
RUNTIME_CONTRACT_ENFORCE=true
|
|
|
|
# Worker recovery policy
|
|
WORKER_RESTART_COOLDOWN=60
|
|
WORKER_RESTART_RETRY_BUDGET=3
|
|
WORKER_RESTART_WINDOW_SECONDS=600
|
|
WORKER_RESTART_CHURN_THRESHOLD=3
|
|
WORKER_GUARDED_MODE_ENABLED=true
|