51 lines
2.0 KiB
Plaintext
51 lines
2.0 KiB
Plaintext
# Node.js 24+. All five services have public HTTPS defaults in config/services.json.
|
|
PORT=5188
|
|
HOST=0.0.0.0
|
|
STATUS_DB_PATH=./data/status.sqlite
|
|
STATUS_INTERVAL_SECONDS=60
|
|
STATUS_TIMEOUT_MS=5000
|
|
STATUS_SLOW_MS=1500
|
|
STATUS_FAILURE_THRESHOLD=3
|
|
STATUS_RECOVERY_THRESHOLD=2
|
|
STATUS_RETENTION_DAYS=90
|
|
STATUS_SCENARIO_INTERVAL_SECONDS=300
|
|
STATUS_SCENARIO_TIMEOUT_MS=20000
|
|
STATUS_SCENARIO_SLOW_MS=30000
|
|
STATUS_BROWSER_CHECKS=true
|
|
# Defaults to installed Chrome on macOS, or Playwright Chromium on hosting.
|
|
# STATUS_BROWSER_EXECUTABLE_PATH=/path/to/chromium
|
|
|
|
# Optional per-service probe URL overrides. These values stay on the server.
|
|
# STATUS_WEBSITE_URL=https://ridebus.by/
|
|
# STATUS_ADMIN_URL=https://admin.ridebus.by/
|
|
# STATUS_PWA_URL=https://pwa.ridebus.by/
|
|
# STATUS_API_URL=https://api.ridebus.by/health
|
|
# STATUS_BOARD_URL=https://board.ridebus.by/
|
|
|
|
# Optional functional API probe in addition to /health (never sent to the browser).
|
|
# RIDEBUS_API_KEY=
|
|
# STATUS_API_DATA_URL=https://api.ridebus.by/api/v1/cities
|
|
# STATUS_TEST_CITY_ID=1
|
|
# STATUS_API_TEST_STOP_ID=1
|
|
# STATUS_PWA_TEST_STOP_ID=1
|
|
# Only for a standalone board; paired boards use their assigned city and stop.
|
|
# STATUS_BOARD_TEST_STOP_ID=1
|
|
# Optional Cookie header from a paired test device: name=value; another=value
|
|
# Keep the full header value in quotes, never copy production-device credentials.
|
|
# STATUS_BOARD_TEST_COOKIE=
|
|
# Scenario origins can be overridden independently of basic probes.
|
|
# STATUS_API_SCENARIO_BASE_URL=https://api.ridebus.by/
|
|
# STATUS_PWA_SCENARIO_BASE_URL=https://pwa.ridebus.by/
|
|
# STATUS_BOARD_SCENARIO_BASE_URL=https://board.ridebus.by/
|
|
|
|
# Alerts remain disabled until both settings are present. Keep them server-side.
|
|
# TELEGRAM_BOT_TOKEN=
|
|
# TELEGRAM_CHAT_ID=
|
|
STATUS_NOTIFY_LANG=ru
|
|
STATUS_TIMEZONE=Europe/Minsk
|
|
# Set after selecting hosting, for canonical links in RSS and notification messages.
|
|
# STATUS_PUBLIC_URL=https://your-status-domain.example/
|
|
|
|
# Relative or absolute path to a replacement service configuration.
|
|
# STATUS_SERVICES_FILE=./config/services.json
|