aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/binary/swift/swift-data
diff options
context:
space:
mode:
authorJames McCarthy <james.m.mccarthy@oracle.com>2015-07-15 16:00:23 +0100
committerPaul Bourke <paul.bourke@oracle.com>2015-07-31 09:36:11 +0000
commit5e28eb8496c356f2074c21d72b52906451696e12 (patch)
treef890a1a7479581f65be34552483161e4f2e33c94 /docker/centos/binary/swift/swift-data
parent6b1f9714c703bb3a1c2411b264b26c3fc960901f (diff)
downloadkolla-5e28eb8496c356f2074c21d72b52906451696e12.tar.gz
kolla-5e28eb8496c356f2074c21d72b52906451696e12.zip
Implement Swift Containers
Known bugs/TODOs at this time of this patch update: https://bugs.launchpad.net/kolla/+bug/1477990 https://bugs.launchpad.net/kolla/+bug/1477993 Implements: Blueprint swift-container Closes-bug: #1477992 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I031f88a7cd1867104fef12df6ab3ffcc06cb65d6
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