blob: 22a921d3b781b707dd75dfd051c2a8537f6311f0 [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}
Vnaumov1ab31f32017-10-09 14:53:39 +03007 pushkin_elasticsearch: ${_param:elasticsearch_bind_host}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03008 pushkin_ssl:
9 enabled: false
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030010 pushkin_db: pushkin
Vnaumov2ff72182017-11-10 12:18:59 +030011 pushkin_db_host: ${_param:haproxy_postgresql_bind_host}
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030012 pushkin_smtp_host: smtp.gmail.com
13 pushkin_smtp_port: 587
Vladislav Naumov7ded8302017-09-22 16:54:50 +030014 webhook_from: your_sender@mail.com
15 pushkin_email_sender_password: your_sender_password
16 webhook_recipients: "recepient1@mail.com,recepient2@mail.com"
17 webhook_login_id: 13
18 webhook_application_id: 24
Vnaumov323df962017-10-01 15:56:10 +030019 sfdc_auth_url: https://login.salesforce.com/services/oauth2/token
20 sfdc_username: user@example.net
21 sfdc_password: secret
22 sfdc_consumer_key: example_consumer_key
23 sfdc_consumer_secret: example_consumer_secret
24 sfdc_organization_id: example_organization_id
Mikhail Ivanovb85fc642017-12-01 21:40:04 +040025 sfdc_environment_id: 0
Vnaumov323df962017-10-01 15:56:10 +030026 sfdc_sandbox_enabled: true
Filip Pytloun7d6144a2017-04-13 13:36:45 +020027 docker:
28 client:
29 stack:
30 pushkin:
31 environment:
32 POSTGRES_USER: ${_param:pushkin_db_user}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030033 POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020034 POSTGRES_DB: ${_param:pushkin_db}
Vnaumov2ff72182017-11-10 12:18:59 +030035 PUSHKINDBHOST: ${_param:pushkin_db_host}
Vnaumov1ab31f32017-10-09 14:53:39 +030036 PUSHKINELASTICHOST: ${_param:pushkin_elasticsearch}
Martin Polreich0c8682e2017-06-23 13:54:20 +020037 WEBHOOK_FROM: ${_param:webhook_from}
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030038 EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password}
39 SMTP_HOST: ${_param:pushkin_smtp_host}
40 SMTP_PORT: ${_param:pushkin_smtp_port}
Martin Polreich0c8682e2017-06-23 13:54:20 +020041 WEBHOOK_RECIPIENTS: ${_param:webhook_recipients}
42 WEBHOOK_LOGIN_ID: ${_param:webhook_login_id}
43 WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id}
Vnaumov323df962017-10-01 15:56:10 +030044 SFDC_AUTH_URL: ${_param:sfdc_auth_url}
45 SFDC_USERNAME: ${_param:sfdc_username}
46 SFDC_PASSWORD: ${_param:sfdc_password}
47 SFDC_CONSUMER_KEY: ${_param:sfdc_consumer_key}
48 SFDC_CONSUMER_SECRET: ${_param:sfdc_consumer_secret}
49 SFDC_ORGANIZATION_ID: ${_param:sfdc_organization_id}
Mikhail Ivanovb85fc642017-12-01 21:40:04 +040050 SFDC_ENVIRONMENT_ID: ${_param:sfdc_environment_id}
Vnaumov323df962017-10-01 15:56:10 +030051 SFDC_SANDBOX_ENABLED: ${_param:sfdc_sandbox_enabled}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020052 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030053 pushkin-api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020054 image: ${_param:docker_image_pushkin}
55 deploy:
56 replicas: ${_param:docker_pushkin_replicas}
57 restart_policy:
58 condition: any
59 ports:
60 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
61 volumes:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030062 - /srv/volumes/pushkin/api:/var/log/pushkin
Vladislav Naumov99530162017-09-11 18:18:00 +030063 network:
64 default:
65 external:
66 name: oss_backend