chore: finalize vite migration hardening and archive openspec changes
This commit is contained in:
@@ -18,6 +18,13 @@ Environment="WATCHDOG_RESTART_FLAG=/run/mes-dashboard/mes_dashboard_restart.flag
|
||||
Environment="WATCHDOG_PID_FILE=/run/mes-dashboard/gunicorn.pid"
|
||||
Environment="WATCHDOG_STATE_FILE=/var/lib/mes-dashboard/restart_state.json"
|
||||
Environment="WATCHDOG_CHECK_INTERVAL=5"
|
||||
Environment="RUNTIME_CONTRACT_VERSION=2026.02-p2"
|
||||
Environment="RUNTIME_CONTRACT_ENFORCE=true"
|
||||
Environment="WORKER_RESTART_COOLDOWN=60"
|
||||
Environment="WORKER_RESTART_RETRY_BUDGET=3"
|
||||
Environment="WORKER_RESTART_WINDOW_SECONDS=600"
|
||||
Environment="WORKER_RESTART_CHURN_THRESHOLD=3"
|
||||
Environment="WORKER_GUARDED_MODE_ENABLED=true"
|
||||
|
||||
RuntimeDirectory=mes-dashboard
|
||||
StateDirectory=mes-dashboard
|
||||
|
||||
26
deploy/mes-dashboard.env.example
Normal file
26
deploy/mes-dashboard.env.example
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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
|
||||
@@ -18,6 +18,13 @@ Environment="WATCHDOG_RUNTIME_DIR=/run/mes-dashboard"
|
||||
Environment="WATCHDOG_RESTART_FLAG=/run/mes-dashboard/mes_dashboard_restart.flag"
|
||||
Environment="WATCHDOG_PID_FILE=/run/mes-dashboard/gunicorn.pid"
|
||||
Environment="WATCHDOG_STATE_FILE=/var/lib/mes-dashboard/restart_state.json"
|
||||
Environment="RUNTIME_CONTRACT_VERSION=2026.02-p2"
|
||||
Environment="RUNTIME_CONTRACT_ENFORCE=true"
|
||||
Environment="WORKER_RESTART_COOLDOWN=60"
|
||||
Environment="WORKER_RESTART_RETRY_BUDGET=3"
|
||||
Environment="WORKER_RESTART_WINDOW_SECONDS=600"
|
||||
Environment="WORKER_RESTART_CHURN_THRESHOLD=3"
|
||||
Environment="WORKER_GUARDED_MODE_ENABLED=true"
|
||||
|
||||
RuntimeDirectory=mes-dashboard
|
||||
StateDirectory=mes-dashboard
|
||||
|
||||
Reference in New Issue
Block a user