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} |
Vnaumov | 1ab31f3 | 2017-10-09 14:53:39 +0300 | [diff] [blame] | 7 | pushkin_elasticsearch: ${_param:elasticsearch_bind_host} |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 8 | pushkin_ssl: |
| 9 | enabled: false |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 10 | pushkin_db: pushkin |
Vnaumov | 2ff7218 | 2017-11-10 12:18:59 +0300 | [diff] [blame] | 11 | pushkin_db_host: ${_param:haproxy_postgresql_bind_host} |
Vladislav Naumov | fe2c0aa | 2017-08-30 19:31:15 +0300 | [diff] [blame] | 12 | pushkin_smtp_host: smtp.gmail.com |
| 13 | pushkin_smtp_port: 587 |
Sergey Novikov | 771efa3 | 2018-02-27 13:24:41 +0400 | [diff] [blame] | 14 | pushkin_smtp_use_tls: true |
Vladislav Naumov | 7ded830 | 2017-09-22 16:54:50 +0300 | [diff] [blame] | 15 | webhook_from: your_sender@mail.com |
| 16 | pushkin_email_sender_password: your_sender_password |
| 17 | webhook_recipients: "recepient1@mail.com,recepient2@mail.com" |
| 18 | webhook_login_id: 13 |
| 19 | webhook_application_id: 24 |
Vnaumov | 323df96 | 2017-10-01 15:56:10 +0300 | [diff] [blame] | 20 | sfdc_auth_url: https://login.salesforce.com/services/oauth2/token |
| 21 | sfdc_username: user@example.net |
| 22 | sfdc_password: secret |
| 23 | sfdc_consumer_key: example_consumer_key |
| 24 | sfdc_consumer_secret: example_consumer_secret |
| 25 | sfdc_organization_id: example_organization_id |
Mikhail Ivanov | b85fc64 | 2017-12-01 21:40:04 +0400 | [diff] [blame] | 26 | sfdc_environment_id: 0 |
Vnaumov | 323df96 | 2017-10-01 15:56:10 +0300 | [diff] [blame] | 27 | sfdc_sandbox_enabled: true |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 28 | docker: |
| 29 | client: |
| 30 | stack: |
| 31 | pushkin: |
| 32 | environment: |
| 33 | POSTGRES_USER: ${_param:pushkin_db_user} |
Volodymyr Stoiko | e5ab603 | 2017-04-22 17:41:29 +0300 | [diff] [blame] | 34 | POSTGRES_PASSWORD: ${_param:pushkin_db_user_password} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 35 | POSTGRES_DB: ${_param:pushkin_db} |
Vnaumov | 2ff7218 | 2017-11-10 12:18:59 +0300 | [diff] [blame] | 36 | PUSHKINDBHOST: ${_param:pushkin_db_host} |
Vnaumov | 1ab31f3 | 2017-10-09 14:53:39 +0300 | [diff] [blame] | 37 | PUSHKINELASTICHOST: ${_param:pushkin_elasticsearch} |
Martin Polreich | 0c8682e | 2017-06-23 13:54:20 +0200 | [diff] [blame] | 38 | WEBHOOK_FROM: ${_param:webhook_from} |
Vladislav Naumov | fe2c0aa | 2017-08-30 19:31:15 +0300 | [diff] [blame] | 39 | EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password} |
| 40 | SMTP_HOST: ${_param:pushkin_smtp_host} |
| 41 | SMTP_PORT: ${_param:pushkin_smtp_port} |
Sergey Novikov | 771efa3 | 2018-02-27 13:24:41 +0400 | [diff] [blame] | 42 | SMTP_USE_TLS: ${_param:pushkin_smtp_use_tls} |
Martin Polreich | 0c8682e | 2017-06-23 13:54:20 +0200 | [diff] [blame] | 43 | WEBHOOK_RECIPIENTS: ${_param:webhook_recipients} |
| 44 | WEBHOOK_LOGIN_ID: ${_param:webhook_login_id} |
| 45 | WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id} |
Vnaumov | 323df96 | 2017-10-01 15:56:10 +0300 | [diff] [blame] | 46 | SFDC_AUTH_URL: ${_param:sfdc_auth_url} |
| 47 | SFDC_USERNAME: ${_param:sfdc_username} |
| 48 | SFDC_PASSWORD: ${_param:sfdc_password} |
| 49 | SFDC_CONSUMER_KEY: ${_param:sfdc_consumer_key} |
| 50 | SFDC_CONSUMER_SECRET: ${_param:sfdc_consumer_secret} |
| 51 | SFDC_ORGANIZATION_ID: ${_param:sfdc_organization_id} |
Mikhail Ivanov | b85fc64 | 2017-12-01 21:40:04 +0400 | [diff] [blame] | 52 | SFDC_ENVIRONMENT_ID: ${_param:sfdc_environment_id} |
Vnaumov | 323df96 | 2017-10-01 15:56:10 +0300 | [diff] [blame] | 53 | SFDC_SANDBOX_ENABLED: ${_param:sfdc_sandbox_enabled} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 54 | service: |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 55 | pushkin-api: |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 56 | image: ${_param:docker_image_pushkin} |
| 57 | deploy: |
| 58 | replicas: ${_param:docker_pushkin_replicas} |
| 59 | restart_policy: |
| 60 | condition: any |
| 61 | ports: |
| 62 | - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port} |
| 63 | volumes: |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 64 | - /srv/volumes/pushkin/api:/var/log/pushkin |
Vladislav Naumov | 9953016 | 2017-09-11 18:18:00 +0300 | [diff] [blame] | 65 | network: |
| 66 | default: |
| 67 | external: |
| 68 | name: oss_backend |