map to different port to avoid clashes.

This commit is contained in:
Egon Rijpkema 2017-09-21 14:45:23 +02:00
parent 44077aade9
commit 213064ed2d
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[Unit]
Description=Openstack Glance Container
Description=Openstack Cinder Storage container
After=docker.service
Requires=docker.service
@ -13,7 +13,7 @@ ExecStart=/usr/bin/docker run --name %n \
{{ env_vars | replace('\n', '') }} \
-v /srv/cinder-storage/root:/root \
-v "{{ storage_volume }}":/dev/cinder_storage_volume \
-p 8776:8776 \
-p 8777:8776 \
{{ docker_image }}
[Install]