Add server and client metadata for Rundeck
Change-Id: Iaba8ed9b932cf587db2d27853f37d352f03a98e1
diff --git a/docker/swarm/stack/rundeck.yml b/docker/swarm/stack/rundeck.yml
index b0951a4..f89619a 100644
--- a/docker/swarm/stack/rundeck.yml
+++ b/docker/swarm/stack/rundeck.yml
@@ -1,15 +1,11 @@
parameters:
_param:
docker_rundeck_replicas: 1
- docker_image_rundeck: docker-sandbox.sandbox.mirantis.net/ikharin/oss/rundeck:latest
- rundeck_admin_password: password
+ docker_image_rundeck: docker-sandbox.sandbox.mirantis.net/ikharin/oss/rundeck:devel
docker:
client:
stack:
rundeck:
- environment:
- SERVER_URL: "http://${_param:haproxy_rundeck_bind_host}:${_param:haproxy_rundeck_bind_port}"
- RUNDECK_ADMIN_PASSWORD: ${_param:rundeck_admin_password}
service:
rundeck:
image: ${_param:docker_image_rundeck}
@@ -20,9 +16,11 @@
ports:
- 14440:4440
volumes:
- - /srv/volumes/rundeck/etc:/etc/rundeck
+ - /srv/volumes/rundeck/etc/framework.properties:/etc/rundeck/framework.properties
+ - /srv/volumes/rundeck/etc/tokens.properties:/etc/rundeck/tokens.properties
+ - /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/mysql:/var/lib/mysql
- /srv/volumes/rundeck/log:/var/log/rundeck
- /srv/volumes/rundeck/logs:/var/lib/rundeck/logs
- /srv/volumes/rundeck/plugins:/opt/rundeck-plugins