system-config/playbooks/roles/zuul-executor/files/docker-compose.yaml
Monty Taylor a888431429 Run zuul-executor using docker
It looks like we don't actually have an issue with executor and AFS.

Change-Id: I9df29b328daad907c631c4a102cf2168dfef815a
2020-06-09 14:26:38 -05:00

23 lines
582 B
YAML

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
executor:
restart: always
image: docker.io/zuul/zuul-executor:latest
network_mode: host
user: zuul
privileged: true
stop_signal: SIGHUP
stop_grace_period: 3h10m
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