blob: 65d400e370c851b979cf9193940e0095df2b674f [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 _param:
azvyagintsev16ca7ce2018-08-21 17:20:33 +03003 mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com'
Filip Pytloun7d6144a2017-04-13 13:36:45 +02004 docker_pushkin_replicas: 1
azvyagintsev16ca7ce2018-08-21 17:20:33 +03005 docker_image_pushkin: ${_param:mcp_docker_registry}/mirantis/oss/pushkin
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03006 pushkin_bind_host: pushkin-api
7 pushkin_bind_port: ${_param:haproxy_pushkin_bind_port}
Vnaumov1ab31f32017-10-09 14:53:39 +03008 pushkin_elasticsearch: ${_param:elasticsearch_bind_host}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03009 pushkin_ssl:
10 enabled: false
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030011 pushkin_db: pushkin
Vnaumov2ff72182017-11-10 12:18:59 +030012 pushkin_db_host: ${_param:haproxy_postgresql_bind_host}
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030013 pushkin_smtp_host: smtp.gmail.com
14 pushkin_smtp_port: 587
Sergey Novikov771efa32018-02-27 13:24:41 +040015 pushkin_smtp_use_tls: true
Vladislav Naumov7ded8302017-09-22 16:54:50 +030016 webhook_from: your_sender@mail.com
17 pushkin_email_sender_password: your_sender_password
18 webhook_recipients: "recepient1@mail.com,recepient2@mail.com"
19 webhook_login_id: 13
20 webhook_application_id: 24
Vnaumov323df962017-10-01 15:56:10 +030021 sfdc_auth_url: https://login.salesforce.com/services/oauth2/token
22 sfdc_username: user@example.net
23 sfdc_password: secret
24 sfdc_consumer_key: example_consumer_key
25 sfdc_consumer_secret: example_consumer_secret
26 sfdc_organization_id: example_organization_id
Mikhail Ivanovb85fc642017-12-01 21:40:04 +040027 sfdc_environment_id: 0
Vnaumov323df962017-10-01 15:56:10 +030028 sfdc_sandbox_enabled: true
Filip Pytloun7d6144a2017-04-13 13:36:45 +020029 docker:
30 client:
31 stack:
32 pushkin:
33 environment:
34 POSTGRES_USER: ${_param:pushkin_db_user}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030035 POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020036 POSTGRES_DB: ${_param:pushkin_db}
Vnaumov2ff72182017-11-10 12:18:59 +030037 PUSHKINDBHOST: ${_param:pushkin_db_host}
Vnaumov1ab31f32017-10-09 14:53:39 +030038 PUSHKINELASTICHOST: ${_param:pushkin_elasticsearch}
Martin Polreich0c8682e2017-06-23 13:54:20 +020039 WEBHOOK_FROM: ${_param:webhook_from}
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030040 EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password}
41 SMTP_HOST: ${_param:pushkin_smtp_host}
42 SMTP_PORT: ${_param:pushkin_smtp_port}
Sergey Novikov771efa32018-02-27 13:24:41 +040043 SMTP_USE_TLS: ${_param:pushkin_smtp_use_tls}
Martin Polreich0c8682e2017-06-23 13:54:20 +020044 WEBHOOK_RECIPIENTS: ${_param:webhook_recipients}
45 WEBHOOK_LOGIN_ID: ${_param:webhook_login_id}
46 WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id}
Vnaumov323df962017-10-01 15:56:10 +030047 SFDC_AUTH_URL: ${_param:sfdc_auth_url}
48 SFDC_USERNAME: ${_param:sfdc_username}
49 SFDC_PASSWORD: ${_param:sfdc_password}
50 SFDC_CONSUMER_KEY: ${_param:sfdc_consumer_key}
51 SFDC_CONSUMER_SECRET: ${_param:sfdc_consumer_secret}
52 SFDC_ORGANIZATION_ID: ${_param:sfdc_organization_id}
Mikhail Ivanovb85fc642017-12-01 21:40:04 +040053 SFDC_ENVIRONMENT_ID: ${_param:sfdc_environment_id}
Vnaumov323df962017-10-01 15:56:10 +030054 SFDC_SANDBOX_ENABLED: ${_param:sfdc_sandbox_enabled}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020055 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030056 pushkin-api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020057 image: ${_param:docker_image_pushkin}
58 deploy:
59 replicas: ${_param:docker_pushkin_replicas}
60 restart_policy:
61 condition: any
62 ports:
63 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
64 volumes:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030065 - /srv/volumes/pushkin/api:/var/log/pushkin
Vladislav Naumov99530162017-09-11 18:18:00 +030066 network:
67 default:
68 external:
69 name: oss_backend