aboutsummaryrefslogtreecommitdiff
path: root/compose
diff options
context:
space:
mode:
authorIan Main <imain@redhat.com>2015-06-15 16:48:35 -0400
committerIan Main <imain@redhat.com>2015-06-18 13:48:22 -0400
commit2482f718f840dbea42f4c452238c5b096e1fd6b4 (patch)
tree6813772e0dcaad03bde255f3dcc99bc8e0bac45d /compose
parent0c5d6575ed7eb86886ae9e7e6ec693616db938d3 (diff)
downloadkolla-2482f718f840dbea42f4c452238c5b096e1fd6b4.tar.gz
kolla-2482f718f840dbea42f4c452238c5b096e1fd6b4.zip
Set up glance to use a data container.
Glance images were originally intended to be stored on the host (see container Dockerfile) but the compose file was not doing this. The right thing is to use a data container for image content. Closes-bug: #1465401 Change-Id: I02d2aab2913356939d98b8c18f9e788ae6d901af Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Diffstat (limited to 'compose')
-rw-r--r--compose/glance-api-registry.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/compose/glance-api-registry.yml b/compose/glance-api-registry.yml
index 2acb4c361..b931b5bb1 100644
--- a/compose/glance-api-registry.yml
+++ b/compose/glance-api-registry.yml
@@ -1,3 +1,7 @@
+glancedata:
+ image: kollaglue/centos-rdo-glance-data:latest
+ name: glance-data
+
glanceregistry:
image: kollaglue/centos-rdo-glance-registry:latest
name: glance-registry
@@ -5,6 +9,7 @@ glanceregistry:
restart: always
env_file:
- openstack.env
+
glanceapi:
image: kollaglue/centos-rdo-glance-api:latest
name: glance-api
@@ -12,3 +17,5 @@ glanceapi:
restart: always
env_file:
- openstack.env
+ volumes_from:
+ - glancedata