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

21 lines
534 B
YAML

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
executor:
restart: on-failure
image: quay.io/zuul-ci/zuul-executor:latest
network_mode: host
user: zuul
privileged: true
volumes:
- /etc/zuul:/etc/zuul
- /opt/project-config:/opt/project-config
- /afs:/afs
- /home/zuuld:/home/zuul
- /var/lib/zuul:/var/lib/zuul
- /var/log/zuul:/var/log/zuul
- /etc/openafs:/etc/openafs:ro
- /etc/ssl/certs:/etc/ssl/certs