kolla/compose/nova-compute.yml
Steven Dake f1dbf25797 WIP: Remove data containers and adjust compose files
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
2015-08-24 05:46:10 -07:00

37 lines
725 B
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
- /dev:/dev
volumes_from:
- computedata
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
- /dev:/dev
volumes_from:
- computedata