Merge "Set up glance to use a data container."

This commit is contained in:
Jenkins 2015-06-25 02:18:06 +00:00 committed by Gerrit Code Review
commit 999a51b6f3
4 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -1,8 +1,6 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%glance-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
VOLUME /var/lib/glance
ADD ./start.sh /start.sh
ADD ./check.sh /check.sh

View File

@ -0,0 +1,5 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
VOLUME [ "/var/lib/glance" ]
CMD ["/bin/true"]

View File

@ -0,0 +1 @@
../../../tools/build-docker-image