swarm-cronjob/docker-compose.production.yml

12 lines
197 B
YAML

---
version: "3.7"
services:
docker-cron-job:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
deploy:
placement:
constraints:
- node.role == manager