f0b77485ec
Zuul is publishing lovely container images, so we should go ahead and start using them. We can't use containers for zuul-executor because of the docker->bubblewrap->AFS issue, so install from pip there. Don't start any of the containers by default, which should let us safely roll this out and then do a rolling restart. For things (like web or mergers) where it's safe to do so, a followup change will swap the flag. Change-Id: I37dcce3a67477ad3b2c36f2fd3657af18bc25c40
17 lines
416 B
YAML
17 lines
416 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/zuul:/home/zuul
|
|
- /var/lib/zuul:/var/lib/zuul
|
|
- /var/log/zuul:/var/log/zuul
|