Ruslan Khozinov | 9cbfacf | 2017-03-30 17:44:44 +0000 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | docker_pushkin_replicas: 1 |
| 4 | docker_image_pushkin: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/pushkin:latest |
| 5 | pushkin_db_password: pushkin |
| 6 | pushkin_db_user: pushkin |
| 7 | pushkin_db: pushkin |
| 8 | docker: |
| 9 | client: |
| 10 | service: |
| 11 | pushkin-backend: |
| 12 | environment: |
| 13 | POSTGRES_USER: ${_param:pushkin_db_user} |
| 14 | POSTGRES_PASSWORD: ${_param:pushkin_db_password} |
| 15 | POSTGRES_DB: ${_param:pushkin_db} |
| 16 | PUSHKINDBHOST: ${_param:haproxy_pushkin_db_bind_host} |
| 17 | PUSHKINELASTICHOST: ${_param:haproxy_elasticsearch_bind_host} |
| 18 | replicas: ${_param:docker_pushkin_replicas} |
| 19 | image: ${_param:docker_image_pushkin} |
| 20 | restart: |
| 21 | condition: any |
| 22 | ports: |
| 23 | - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port} |
| 24 | volume: |
| 25 | pushkin: |
| 26 | type: bind |
| 27 | source: /srv/volumes/pushkin/logs |
Volodymyr Stoiko | dfb5114 | 2017-04-06 10:04:19 +0300 | [diff] [blame] | 28 | destination: /var/log/pushkin |