diff --git a/compose/glance-api-registry.yml b/compose/glance-api-registry.yml index 2acb4c361b..b931b5bb17 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 diff --git a/docker/centos/binary/glance/glance-api/Dockerfile b/docker/centos/binary/glance/glance-api/Dockerfile index a4bd45bd1d..5ff83508f9 100644 --- a/docker/centos/binary/glance/glance-api/Dockerfile +++ b/docker/centos/binary/glance/glance-api/Dockerfile @@ -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 diff --git a/docker/glance/glance-data/Dockerfile b/docker/glance/glance-data/Dockerfile new file mode 100644 index 0000000000..e99c60ecaf --- /dev/null +++ b/docker/glance/glance-data/Dockerfile @@ -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"] diff --git a/docker/glance/glance-data/build b/docker/glance/glance-data/build new file mode 120000 index 0000000000..43944faa00 --- /dev/null +++ b/docker/glance/glance-data/build @@ -0,0 +1 @@ +../../../tools/build-docker-image \ No newline at end of file