Files
worker/docker-compose.yml
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

18 строки
475 B
YAML

services:
worker:
image: "reg.rsxx.ru/rsmon/rsmon-worker@sha256:${RSMON_WORKER_IMAGE_DIGEST:?set RSMON_WORKER_IMAGE_DIGEST to the published 64-character digest}"
restart: unless-stopped
env_file:
- .env
ports:
- "${WORKER_BIND_IP:-127.0.0.1}:${WORKER_PORT:-27401}:${WORKER_PORT:-27401}"
volumes:
- worker-data:/var/lib/rsmon-worker
cap_add:
- NET_RAW
security_opt:
- no-new-privileges:true
volumes:
worker-data: