Files
worker/.env.example
Gleb Tv e987f24903
Все проверки выполнены успешно
CI / test (push) Successful in 2m32s
Docker / Build and publish worker image (push) Successful in 18m17s
fix(worker): harden control-plane lifecycle
- reconnect safely after token rotation and retry leased results
- reject malformed tasks and remove production cluster debug mutation
- validate environment files and require immutable container images

BREAKING CHANGE: Docker install, deploy, and Compose now require an
immutable repository@sha256 image reference.
2026-07-19 23:11:43 +03:00

30 строки
895 B
Plaintext

# Required: create the worker at https://rsmon.ru/settings/workers first.
RSMON_URL=https://rsmon.ru
RSMON_TOKEN=replace-with-worker-token
# Required for Docker Compose. Replace with a published 64-character digest.
RSMON_WORKER_IMAGE_DIGEST=replace-with-64-lowercase-hex-digest
# Local operator console. Both credentials are required while the web UI is on.
WORKER_HOST=0.0.0.0
WORKER_PORT=27401
WORKER_BIND_IP=127.0.0.1
WORKER_URL=
WORKER_LOGIN=admin
WORKER_PASSWORD=replace-with-a-long-random-password
# Persistent web application state.
RSMON_WEBAPP_DATA_DIR=/var/lib/rsmon-worker/webapp
# Optional Raft worker cluster.
WORKER_CLUSTER_ENABLED=false
WORKER_CLUSTER_ID=
WORKER_CLUSTER_HOST=0.0.0.0
WORKER_CLUSTER_PORT=37401
WORKER_CLUSTER_PEERS=
WORKER_CLUSTER_DATA_DIR=/var/lib/rsmon-worker/cluster
WORKER_CLUSTER_BOOTSTRAP=false
# Optional update page API endpoint.
WORKER_RELEASE_URL=