Files
worker/docker-compose.yml
Gleb Tv 2c7a0236da feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
2026-07-13 17:55:14 +03:00

18 строки
399 B
YAML

services:
worker:
image: ${RSMON_WORKER_IMAGE:-reg.rsxx.ru/rsmon/rsmon-worker:latest}
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: