blob: 593f5328f9f04252e63998b9c2906317423645a4 [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}
7 pushkin_ssl:
8 enabled: false
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +03009 pushkin_db: pushkin
Filip Pytloun7d6144a2017-04-13 13:36:45 +020010 docker:
11 client:
12 stack:
13 pushkin:
14 environment:
15 POSTGRES_USER: ${_param:pushkin_db_user}
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030016 POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020017 POSTGRES_DB: ${_param:pushkin_db}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030018 PUSHKINDBHOST: ${_param:postgresql_bind_host}
19 PUSHKINELASTICHOST: ${_param:elasticsearch_bind_host}
Martin Polreich0c8682e2017-06-23 13:54:20 +020020 WEBHOOK_FROM: ${_param:webhook_from}
21 WEBHOOK_RECIPIENTS: ${_param:webhook_recipients}
22 WEBHOOK_LOGIN_ID: ${_param:webhook_login_id}
23 WEBHOOK_APPLICATION_ID: ${_param:webhook_application_id}
24 WEBHOOK_SFDC_USERNAME: ${_param:webhook_sfdc_username}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020025 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030026 pushkin-api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020027 image: ${_param:docker_image_pushkin}
28 deploy:
29 replicas: ${_param:docker_pushkin_replicas}
30 restart_policy:
31 condition: any
32 ports:
33 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
34 volumes:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030035 - /srv/volumes/pushkin/api:/var/log/pushkin
36 network:
37 default:
38 external:
39 name: oss_backend