Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 3 | docker_pushkin_replicas: 1 |
Volodymyr Stoiko | 804ff72 | 2017-08-17 13:19:16 +0300 | [diff] [blame] | 4 | docker_image_pushkin: docker-prod-local.artifactory.mirantis.com/mirantis/oss/pushkin |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 5 | pushkin_bind_host: pushkin-api |
| 6 | pushkin_bind_port: ${_param:haproxy_pushkin_bind_port} |
| 7 | pushkin_ssl: |
| 8 | enabled: false |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 9 | pushkin_db: pushkin |
Vladislav Naumov | fe2c0aa | 2017-08-30 19:31:15 +0300 | [diff] [blame] | 10 | pushkin_smtp_host: smtp.gmail.com |
| 11 | pushkin_smtp_port: 587 |
Vladislav Naumov | 7ded830 | 2017-09-22 16:54:50 +0300 | [diff] [blame^] | 12 | webhook_from: your_sender@mail.com |
| 13 | pushkin_email_sender_password: your_sender_password |
| 14 | webhook_recipients: "recepient1@mail.com,recepient2@mail.com" |
| 15 | webhook_login_id: 13 |
| 16 | webhook_application_id: 24 |
| 17 | webhook_sfdc_username: your_sfdc_username |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 18 | docker: |
| 19 | client: |
| 20 | stack: |
| 21 | pushkin: |
| 22 | environment: |
| 23 | POSTGRES_USER: ${_param:pushkin_db_user} |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 24 | POSTGRES_PASSWORD: ${_param:pushkin_db_user_password} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 25 | POSTGRES_DB: ${_param:pushkin_db} |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 26 | PUSHKINDBHOST: ${_param:postgresql_bind_host} |
| 27 | PUSHKINELASTICHOST: ${_param:elasticsearch_bind_host} |
Martin Polreich | 0c8682e | 2017-06-23 13:54:20 +0200 | [diff] [blame] | 28 | WEBHOOK_FROM: ${_param:webhook_from} |
Vladislav Naumov | fe2c0aa | 2017-08-30 19:31:15 +0300 | [diff] [blame] | 29 | EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password} |
| 30 | SMTP_HOST: ${_param:pushkin_smtp_host} |
| 31 | SMTP_PORT: ${_param:pushkin_smtp_port} |
Martin Polreich | 0c8682e | 2017-06-23 13:54:20 +0200 | [diff] [blame] | 32 | WEBHOOK_RECIPIENTS: ${_param:webhook_recipients} |
| 33 | WEBHOOK_LOGIN_ID: ${_param:webhook_login_id} |
| 34 | WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id} |
| 35 | WEBHOOK_SFDC_USERNAME: ${_param:webhook_sfdc_username} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 36 | service: |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 37 | pushkin-api: |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 38 | image: ${_param:docker_image_pushkin} |
| 39 | deploy: |
| 40 | replicas: ${_param:docker_pushkin_replicas} |
| 41 | restart_policy: |
| 42 | condition: any |
| 43 | ports: |
| 44 | - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port} |
| 45 | volumes: |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 46 | - /srv/volumes/pushkin/api:/var/log/pushkin |
Vladislav Naumov | 9953016 | 2017-09-11 18:18:00 +0300 | [diff] [blame] | 47 | network: |
| 48 | default: |
| 49 | external: |
| 50 | name: oss_backend |