06be60bc08
We don't actually need version 3. Mark it as version 2 to keep it inline with everything else. In general we should only increase past v2 if we need a specific feature. Change-Id: Ie243da369ddec30e0eca4805434d572e12c40491
29 lines
867 B
Django/Jinja
29 lines
867 B
Django/Jinja
version: '2'
|
|
services:
|
|
nodepool-builder:
|
|
image: docker.io/zuul/nodepool-builder:{{ nodepool_builder_container_tag|default('latest') }}
|
|
user: nodepool
|
|
network_mode: host
|
|
restart: always
|
|
|
|
privileged: true
|
|
|
|
environment:
|
|
- DEBUG=1
|
|
|
|
volumes:
|
|
# nodepool config
|
|
- /etc/nodepool:/etc/nodepool:ro
|
|
# openstacksdk config
|
|
- /etc/openstack:/etc/openstack:ro
|
|
# project-config
|
|
- /opt/project-config:/opt/project-config:ro
|
|
# dib temporary storage; see config in project-config
|
|
- /opt/dib_tmp:/opt/dib_tmp:rw
|
|
# dib cache; see config in project-config
|
|
- /opt/dib_cache:/opt/dib_cache:rw
|
|
# dib image output; see config in project-config
|
|
- /opt/nodepool_dib:/opt/nodepool_dib:rw
|
|
# logs (builder + dib build logs under /build)
|
|
- /var/log/nodepool:/var/log/nodepool:rw
|