blob: dde8541a07578df3348b80ec94dd750a996d1e6b [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
4 docker_image_pushkin: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/pushkin:latest
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