Ilya Kharin | 91935e5 | 2017-03-23 17:51:00 +0400 | [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 | service: |
| 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 | replicas: ${_param:docker_rundeck_replicas} |
| 14 | image: ${_param:docker_image_rundeck} |
| 15 | restart: |
| 16 | condition: any |
| 17 | ports: |
| 18 | - 14440:4440 |
| 19 | volume: |
| 20 | etc: |
| 21 | type: bind |
| 22 | source: /srv/volumes/rundeck/etc |
| 23 | destination: /etc/rundeck |
| 24 | rundeck: |
| 25 | type: bind |
| 26 | source: /srv/volumes/rundeck/rundeck |
| 27 | destination: /var/rundeck |
| 28 | mysql: |
| 29 | type: bind |
| 30 | source: /srv/volumes/rundeck/mysql |
| 31 | destination: /var/lib/mysql |
| 32 | log: |
| 33 | type: bind |
| 34 | source: /srv/volumes/rundeck/log |
| 35 | destination: /var/log/rundeck |
| 36 | logs: |
| 37 | type: bind |
| 38 | source: /srv/volumes/rundeck/logs |
| 39 | destination: /var/lib/rundeck/logs |
| 40 | plugins: |
| 41 | type: bind |
| 42 | source: /srv/volumes/rundeck/plugins |
| 43 | destination: /opt/rundeck-plugins |
| 44 | storage: |
| 45 | type: bind |
| 46 | source: /srv/volumes/rundeck/storage |
| 47 | destination: /var/lib/rundeck/var/storage |