Ilya Kharin | 91935e5 | 2017-03-23 17:51:00 +0400 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | docker_devops_portal_replicas: 1 |
| 4 | docker_image_devops_portal: docker-sandbox.sandbox.mirantis.net/ikharin/oss/devops-portal:latest |
| 5 | docker: |
| 6 | client: |
| 7 | service: |
| 8 | devops-portal: |
| 9 | replicas: ${_param:docker_devops_portal_replicas} |
| 10 | image: ${_param:docker_image_devops_portal} |
| 11 | restart: |
| 12 | condition: any |
| 13 | ports: |
| 14 | - 18800:8000 |
| 15 | volume: |
| 16 | nginx: |
| 17 | type: bind |
| 18 | source: /srv/volumes/devops_portal/nginx/ |
| 19 | destination: /etc/nginx/config |
| 20 | config: |
| 21 | type: bind |
| 22 | source: /srv/volumes/devops_portal/config/ |
| 23 | destination: /opt/devops-portal/config |