f1dbf25797
Remove all data containers from the repository except the one image we intend to reuse for each data container. Adjust compose files to remove all references to the unique data containers which serve no purpose other then to take up extra resources. Needs VOLUME in data containers exported in the compose files. Change-Id: Id7746110946ef9836180cf57302aaf827e7e5405 Partially-Implements: blueprint one-data-container
65 lines
1.4 KiB
YAML
65 lines
1.4 KiB
YAML
computedata:
|
|
image: kollaglue/centos-rdo-data:latest
|
|
name: computedata
|
|
|
|
libvirt:
|
|
image: kollaglue/centos-rdo-nova-libvirt:latest
|
|
name: libvirt
|
|
net: host
|
|
pid: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
volumes_from:
|
|
- computedata
|
|
|
|
novanetwork:
|
|
image: kollaglue/centos-rdo-nova-network:latest
|
|
name: nova-network
|
|
net: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
volumes_from:
|
|
- computedata
|
|
|
|
# Unfortunately nova api needs to be privileged as it wants to run
|
|
# a firewall command.
|
|
# nova-metadata api is required in multi_host nova network mode.
|
|
# http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html
|
|
novaapi:
|
|
image: kollaglue/centos-rdo-nova-api:latest
|
|
name: nova-api
|
|
privileged: True
|
|
net: "host"
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /lib/modules:/lib/modules:ro
|
|
|
|
novacompute:
|
|
image: kollaglue/centos-rdo-nova-compute:latest
|
|
name: nova-compute
|
|
net: host
|
|
privileged: true
|
|
restart: always
|
|
env_file:
|
|
- openstack.env
|
|
volumes:
|
|
- /run:/run
|
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
- /lib/modules:/lib/modules:ro
|
|
volumes_from:
|
|
- computedata
|