diff options
author | Jiri Stransky <jistr@redhat.com> | 2017-03-08 13:46:07 +0100 |
---|---|---|
committer | Jiri Stransky <jistr@redhat.com> | 2017-03-16 13:30:20 +0100 |
commit | 03e39d668f2b18f81dfcfc96781e753e7f9ef403 (patch) | |
tree | 643d8a07e011332dbce7d2bcab34ad2b196d3e5e /docker/services/swift-proxy.yaml | |
parent | 0d407a5c9acaf6df8f01a6d7df9b4096c71dd234 (diff) |
Keep existing data for containerized Swift
Use mounts instead of docker volumes to preserve existing data when
moving from baremetal to containerized Swift.
Change-Id: Ib7cbca2ef674a0245a67b69ee2c77f574d74c181
Diffstat (limited to 'docker/services/swift-proxy.yaml')
-rw-r--r-- | docker/services/swift-proxy.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/services/swift-proxy.yaml b/docker/services/swift-proxy.yaml index 93e21c81..0d7cd7b9 100644 --- a/docker/services/swift-proxy.yaml +++ b/docker/services/swift-proxy.yaml @@ -72,10 +72,15 @@ outputs: - /etc/hosts:/etc/hosts:ro - /etc/localtime:/etc/localtime:ro - /run:/run - - swift-srv:/srv + - /srv/node:/srv/node - /dev:/dev environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS + host_prep_tasks: + - name: create /srv/node + file: + path: /srv/node + state: directory upgrade_tasks: - name: Stop and disable swift_proxy service tags: step2 |