09935ff328
This avoids the conflict with the zuul user (1000) on the test nodes. The executor will continue to use the default username of 'zuul' as the ansible_user in the inventory. This change also touches the zk and nodepool deployment to use variables for the usernames and uids to make changes like this easier. No changes are intended there. Change-Id: Ib8cef6b7889b23ddc65a07bcba29c21a36e3dcb5
27 lines
696 B
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
|