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
17 lines
417 B
YAML
17 lines
417 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:latest
|
|
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
|