mount volume for default rundeck storage
to avoid data leak when container dropped
resolve: https://mirantis.jira.com/browse/PROD-16756
pay attention that, need to run glusterfs salt state
to provide rundeck:rundeck rights for live-mounted volume
in case of fresh deploy all things should be done by default
Change-Id: Ib9fc9a8ee7dc03d6bd8d150103e489a6b36eb0df
diff --git a/docker/swarm/stack/rundeck.yml b/docker/swarm/stack/rundeck.yml
index 8ab0554..88693be 100644
--- a/docker/swarm/stack/rundeck.yml
+++ b/docker/swarm/stack/rundeck.yml
@@ -25,6 +25,7 @@
- /srv/volumes/rundeck/etc/realm.properties:/etc/rundeck/realm.properties
- /srv/volumes/rundeck/etc/rundeck-config.properties:/etc/rundeck/rundeck-config.properties
- /srv/volumes/rundeck/rundeck:/var/rundeck
+ - /srv/volumes/rundeck/data:/var/lib/rundeck/data
- /srv/volumes/rundeck/log:/var/log/rundeck
- /srv/volumes/rundeck/logs:/var/lib/rundeck/logs
- /srv/volumes/rundeck/plugins:/opt/rundeck-plugins