Files
worker/.env.example
Gleb Tv cb23f123ae
Все проверки выполнены успешно
CI / test (push) Successful in 10m15s
Docker / Build and publish worker image (push) Successful in 34m59s
feat(worker): adopt canonical public URL
2026-08-12 20:48:01 +03:00

33 строки
1.1 KiB
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
# Advertised public origin: absolute http(s) origin (scheme + host, no path).
# PUBLIC_URL is canonical. Legacy WORKER_URL is still read during the bounded
# migration but must not be used for new installs.
PUBLIC_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=