blob: 106d544c5f7c783c3fafd5076341b61da20094d5 [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 Stoikoe5ab6032017-04-22 17:41:29 +03005 pushkin_db: pushkin
Filip Pytloun7d6144a2017-04-13 13:36:45 +02006 docker:
7 client:
8 stack:
9 pushkin:
10 environment:
11 POSTGRES_USER: ${_param:pushkin_db_user}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030012 POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020013 POSTGRES_DB: ${_param:pushkin_db}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030014 PUSHKINDBHOST: ${_param:pushkin_db_host}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020015 PUSHKINELASTICHOST: ${_param:haproxy_elasticsearch_bind_host}
Martin Polreich0c8682e2017-06-23 13:54:20 +020016 WEBHOOK_FROM: ${_param:webhook_from}
17 WEBHOOK_RECIPIENTS: ${_param:webhook_recipients}
18 WEBHOOK_LOGIN_ID: ${_param:webhook_login_id}
19 WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id}
20 WEBHOOK_SFDC_USERNAME: ${_param:webhook_sfdc_username}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020021 service:
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030022 api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020023 image: ${_param:docker_image_pushkin}
24 deploy:
25 replicas: ${_param:docker_pushkin_replicas}
26 restart_policy:
27 condition: any
28 ports:
29 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
30 volumes:
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030031 - /srv/volumes/pushkin/api:/var/log/pushkin