Monty Taylor f7ba1bd6c2 Pass -f to nodepool to run in foreground
We don't want to run it as a daemon now that we're passing
logging config to nodepool. Pass -f - since that's what
the Dockerfile does.

Change-Id: I87b4210ee7e5a622a34944c6345008082e75145b
2020-05-06 14:06:56 -05:00

22 lines
616 B
Django/Jinja

version: '2'
services:
nodepool-launcher:
image: docker.io/zuul/nodepool-launcher:{{ nodepool_launcher_container_tag|default('latest') }}
user: nodepool
network_mode: host
restart: always
command: nodepool-launcher -f -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/launcher-logging.conf
environment:
- DEBUG=1
- STATSD_HOST=graphite.opendev.org
- STATSD_PORT=8125
volumes:
# nodepool config
- /etc/nodepool:/etc/nodepool:ro
# openstacksdk config
- /etc/openstack:/etc/openstack:ro
# logs
- /var/log/nodepool:/var/log/nodepool:rw