system-config/playbooks/roles/zuul-scheduler/files/docker-compose.yaml

17 lines
416 B
YAML

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
scheduler:
restart: always
image: docker.io/zuul/zuul-scheduler:4.1.0
network_mode: host
user: zuul
volumes:
- /etc/zuul:/etc/zuul
- /opt/project-config:/opt/project-config
- /home/zuuld:/home/zuul
- /var/lib/zuul:/var/lib/zuul
- /var/log/zuul:/var/log/zuul