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

27 lines
696 B
YAML

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
web:
restart: always
image: docker.io/zuul/zuul-web:latest
network_mode: host
user: zuul
volumes:
- /etc/zuul:/etc/zuul
- /home/zuuld:/home/zuul
- /var/lib/zuul:/var/lib/zuul
- /var/log/zuul:/var/log/zuul
fingergw:
restart: always
image: docker.io/zuul/zuul-fingergw:latest
network_mode: host
# fingergw needs to run as root so it can
# grab the finger port and then drop privs
volumes:
- /etc/zuul:/etc/zuul
- /home/zuuld:/home/zuul
- /var/lib/zuul:/var/lib/zuul
- /var/log/zuul:/var/log/zuul