kolla-ansible/compose/nova-api-compute-network.yml
Martin André d1b8a1db91 Set release tag to 'latest' for development branch
Change-Id: I418583af2d2795f4b63ded2aa3e2cbedd70993c8
2015-05-12 13:18:09 +09:00

65 lines
1.4 KiB
YAML

computedata:
image: kollaglue/centos-rdo-nova-compute-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