volumes: config: driver: local services: regsync: command: -c /home/appuser/regsync.yml server env_file: - stack.env image: ${DOCKER_REGISTRY:-}ghcr.io/regclient/regsync:latest logging: driver: loki options: loki-url: http://192.168.77.101:3100/loki/api/v1/push mode: non-blocking stdin_open: true volumes: - config:/home/appuser/ - /etc/localtime:/etc/localtime deploy: labels: wud.watch: 'true' wud.watch.digest: 'true' service.name: {{.Service.Name}} stack.name: {{.Stack.Name}} node.name: {{.Node.Hostname}} replicas: 1 placement: constraints: - node.role == manager