aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/binary/swift/swift-data
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-31 17:52:43 +0000
committerGerrit Code Review <review@openstack.org>2015-07-31 17:52:43 +0000
commita20fbed2520db9b1ab0bde80acf9b59466ec56f6 (patch)
tree8c1ecd5c4ef88b30dfb008c35b67e85512f444d0 /docker/centos/binary/swift/swift-data
parent2887c6d2e4d511888d9156668e2b75b48d58add8 (diff)
parent5e28eb8496c356f2074c21d72b52906451696e12 (diff)
downloadkolla-a20fbed2520db9b1ab0bde80acf9b59466ec56f6.tar.gz
kolla-a20fbed2520db9b1ab0bde80acf9b59466ec56f6.zip
Merge "Implement Swift Containers"
Diffstat (limited to 'docker/centos/binary/swift/swift-data')
-rw-r--r--docker/centos/binary/swift/swift-data/Dockerfile13
l---------docker/centos/binary/swift/swift-data/build1
2 files changed, 14 insertions, 0 deletions
diff --git a/docker/centos/binary/swift/swift-data/Dockerfile b/docker/centos/binary/swift/swift-data/Dockerfile
new file mode 100644
index 000000000..ab675045c
--- /dev/null
+++ b/docker/centos/binary/swift/swift-data/Dockerfile
@@ -0,0 +1,13 @@
+FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+# NOTE(pbourke): This is emulating the Swift "all-in-one" setups where there are 3 disks/partitions
+# on which to mirror data. This is extremely inefficient and is really only to prove everything
+# works in an AIO setup. For production deploys the Ansible provisioned setup should be used.
+VOLUME [ "/srv/node/sdb1" ]
+VOLUME [ "/srv/node/sdb2" ]
+VOLUME [ "/srv/node/sdb3" ]
+
+# Command needed to start the data container.
+# Note: data containers do not need to be persistent.
+CMD ["/bin/true"]
diff --git a/docker/centos/binary/swift/swift-data/build b/docker/centos/binary/swift/swift-data/build
new file mode 120000
index 000000000..ec1913803
--- /dev/null
+++ b/docker/centos/binary/swift/swift-data/build
@@ -0,0 +1 @@
+../../../../../tools/build-docker-image \ No newline at end of file