
This was missing but is part of the required runtime directories for the container (for now, until we maybe move all this to volumes). Change-Id: I9e173eb799026520588722caaf60a160abc6b130
30 lines
1023 B
Django/Jinja
30 lines
1023 B
Django/Jinja
version: '3.0'
|
|
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:
|
|
# NOTE(ianw): for non-containerised builds the base roles
|
|
# (configure-openstacksdk) have always deployed the cloud config
|
|
# in ~nodepool/.config.
|
|
- /home/nodepool/.config/openstack:/etc/openstack:ro
|
|
# nodepool config
|
|
- /etc/nodepool:/etc/nodepool: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 |