blob: d4cc6e617a93e915c36e76c13cc40211720b79bf [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 _param:
Filip Pytloun7d6144a2017-04-13 13:36:45 +02003 docker_pushkin_replicas: 1
Volodymyr Stoiko804ff722017-08-17 13:19:16 +03004 docker_image_pushkin: docker-prod-local.artifactory.mirantis.com/mirantis/oss/pushkin
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03005 pushkin_bind_host: pushkin-api
6 pushkin_bind_port: ${_param:haproxy_pushkin_bind_port}
7 pushkin_ssl:
8 enabled: false
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +03009 pushkin_db: pushkin
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030010 pushkin_smtp_host: smtp.gmail.com
11 pushkin_smtp_port: 587
Vladislav Naumov7ded8302017-09-22 16:54:50 +030012 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
Vnaumov323df962017-10-01 15:56:10 +030017 sfdc_auth_url: https://login.salesforce.com/services/oauth2/token
18 sfdc_username: user@example.net
19 sfdc_password: secret
20 sfdc_consumer_key: example_consumer_key
21 sfdc_consumer_secret: example_consumer_secret
22 sfdc_organization_id: example_organization_id
23 sfdc_sandbox_enabled: true
24 sfdc_case_fields: case_and_bool_value
Filip Pytloun7d6144a2017-04-13 13:36:45 +020025 docker:
26 client:
27 stack:
28 pushkin:
29 environment:
30 POSTGRES_USER: ${_param:pushkin_db_user}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030031 POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020032 POSTGRES_DB: ${_param:pushkin_db}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030033 PUSHKINDBHOST: ${_param:postgresql_bind_host}
34 PUSHKINELASTICHOST: ${_param:elasticsearch_bind_host}
Martin Polreich0c8682e2017-06-23 13:54:20 +020035 WEBHOOK_FROM: ${_param:webhook_from}
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030036 EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password}
37 SMTP_HOST: ${_param:pushkin_smtp_host}
38 SMTP_PORT: ${_param:pushkin_smtp_port}
Martin Polreich0c8682e2017-06-23 13:54:20 +020039 WEBHOOK_RECIPIENTS: ${_param:webhook_recipients}
40 WEBHOOK_LOGIN_ID: ${_param:webhook_login_id}
41 WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id}
Vnaumov323df962017-10-01 15:56:10 +030042 SFDC_AUTH_URL: ${_param:sfdc_auth_url}
43 SFDC_USERNAME: ${_param:sfdc_username}
44 SFDC_PASSWORD: ${_param:sfdc_password}
45 SFDC_CONSUMER_KEY: ${_param:sfdc_consumer_key}
46 SFDC_CONSUMER_SECRET: ${_param:sfdc_consumer_secret}
47 SFDC_ORGANIZATION_ID: ${_param:sfdc_organization_id}
48 SFDC_SANDBOX_ENABLED: ${_param:sfdc_sandbox_enabled}
49 SFDC_CASE_FIELDS: ${_param:sfdc_case_fields}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020050 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030051 pushkin-api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020052 image: ${_param:docker_image_pushkin}
53 deploy:
54 replicas: ${_param:docker_pushkin_replicas}
55 restart_policy:
56 condition: any
57 ports:
58 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
59 volumes:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030060 - /srv/volumes/pushkin/api:/var/log/pushkin
Vladislav Naumov99530162017-09-11 18:18:00 +030061 network:
62 default:
63 external:
64 name: oss_backend