aboutsummaryrefslogtreecommitdiff
path: root/compose
diff options
context:
space:
mode:
Diffstat (limited to 'compose')
-rw-r--r--compose/nova-api-compute-network.yml59
1 files changed, 59 insertions, 0 deletions
diff --git a/compose/nova-api-compute-network.yml b/compose/nova-api-compute-network.yml
new file mode 100644
index 000000000..8e0c4c08f
--- /dev/null
+++ b/compose/nova-api-compute-network.yml
@@ -0,0 +1,59 @@
+computedata:
+ image: kollaglue/centos-rdo-nova-compute-data
+ name: computedata
+
+libvirt:
+ image: kollaglue/centos-rdo-nova-libvirt
+ name: libvirt
+ net: host
+ pid: host
+ privileged: true
+ restart: always
+ env_file:
+ - openstack.env
+ volumes:
+ - /run:/run
+ - /sys/fs/cgroup:/sys/fs/cgroup
+ volumes_from:
+ - computedata
+
+novanetwork:
+ image: kollaglue/centos-rdo-nova-network
+ name: nova-network
+ net: host
+ privileged: true
+ restart: always
+ env_file:
+ - openstack.env
+ volumes:
+ - /run:/run
+ - /sys/fs/cgroup:/sys/fs/cgroup
+ 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
+
+novacompute:
+ image: kollaglue/centos-rdo-nova-compute
+ name: nova-compute
+ net: host
+ privileged: true
+ restart: always
+ env_file:
+ - openstack.env
+ volumes:
+ - /run:/run
+ - /sys/fs/cgroup:/sys/fs/cgroup
+ volumes_from:
+ - computedata