Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame^] | 1 | parameters: |
| 2 | _param: |
| 3 | docker_rundeck_replicas: 1 |
| 4 | docker_image_rundeck: docker-sandbox.sandbox.mirantis.net/ikharin/oss/rundeck:latest |
| 5 | rundeck_admin_password: password |
| 6 | docker: |
| 7 | client: |
| 8 | stack: |
| 9 | rundeck: |
| 10 | environment: |
| 11 | SERVER_URL: "http://${_param:haproxy_rundeck_bind_host}:${_param:haproxy_rundeck_bind_port}" |
| 12 | RUNDECK_ADMIN_PASSWORD: ${_param:rundeck_admin_password} |
| 13 | service: |
| 14 | rundeck: |
| 15 | image: ${_param:docker_image_rundeck} |
| 16 | deploy: |
| 17 | replicas: ${_param:docker_rundeck_replicas} |
| 18 | restart_policy: |
| 19 | condition: any |
| 20 | ports: |
| 21 | - 14440:4440 |
| 22 | volumes: |
| 23 | - /srv/volumes/rundeck/etc:/etc/rundeck |
| 24 | - /srv/volumes/rundeck/rundeck:/var/rundeck |
| 25 | - /srv/volumes/rundeck/mysql:/var/lib/mysql |
| 26 | - /srv/volumes/rundeck/log:/var/log/rundeck |
| 27 | - /srv/volumes/rundeck/logs:/var/lib/rundeck/logs |
| 28 | - /srv/volumes/rundeck/plugins:/opt/rundeck-plugins |
| 29 | - /srv/volumes/rundeck/storage:/var/lib/rundeck/var/storage |