diff options
Diffstat (limited to 'docker/centos/binary/swift/swift-data')
| -rw-r--r-- | docker/centos/binary/swift/swift-data/Dockerfile | 13 | ||||
| l--------- | docker/centos/binary/swift/swift-data/build | 1 |
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 |
