blob: 3df931bcac2c72875f725525ae04e7aca82d76b5 [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
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030011 pushkin_smtp_host: smtp.gmail.com
12 pushkin_smtp_port: 587
Vladislav Naumov7ded8302017-09-22 16:54:50 +030013 webhook_from: your_sender@mail.com
14 pushkin_email_sender_password: your_sender_password
15 webhook_recipients: "recepient1@mail.com,recepient2@mail.com"
16 webhook_login_id: 13
17 webhook_application_id: 24
18 webhook_sfdc_username: your_sfdc_username
Filip Pytloun7d6144a2017-04-13 13:36:45 +020019 docker:
20 client:
21 stack:
22 pushkin:
23 environment:
24 POSTGRES_USER: ${_param:pushkin_db_user}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030025 POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020026 POSTGRES_DB: ${_param:pushkin_db}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030027 PUSHKINDBHOST: ${_param:postgresql_bind_host}
Vnaumov1ab31f32017-10-09 14:53:39 +030028 PUSHKINELASTICHOST: ${_param:pushkin_elasticsearch}
Martin Polreich0c8682e2017-06-23 13:54:20 +020029 WEBHOOK_FROM: ${_param:webhook_from}
Vladislav Naumovfe2c0aa2017-08-30 19:31:15 +030030 EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password}
31 SMTP_HOST: ${_param:pushkin_smtp_host}
32 SMTP_PORT: ${_param:pushkin_smtp_port}
Martin Polreich0c8682e2017-06-23 13:54:20 +020033 WEBHOOK_RECIPIENTS: ${_param:webhook_recipients}
34 WEBHOOK_LOGIN_ID: ${_param:webhook_login_id}
35 WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id}
36 WEBHOOK_SFDC_USERNAME: ${_param:webhook_sfdc_username}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020037 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030038 pushkin-api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020039 image: ${_param:docker_image_pushkin}
40 deploy:
41 replicas: ${_param:docker_pushkin_replicas}
42 restart_policy:
43 condition: any
44 ports:
45 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
46 volumes:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030047 - /srv/volumes/pushkin/api:/var/log/pushkin
Vladislav Naumov99530162017-09-11 18:18:00 +030048 network:
49 default:
50 external:
51 name: oss_backend