blob: 32323014e9330f913647d154fc3d0a3cb7fdc7bf [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}
16 service:
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030017 api:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020018 image: ${_param:docker_image_pushkin}
19 deploy:
20 replicas: ${_param:docker_pushkin_replicas}
21 restart_policy:
22 condition: any
23 ports:
24 - ${_param:haproxy_pushkin_exposed_port}:${_param:haproxy_pushkin_bind_port}
25 volumes:
Volodymyr Stoikoe5ab6032017-04-22 17:41:29 +030026 - /srv/volumes/pushkin/api:/var/log/pushkin