blob: 479b0281414d6bf6aee55028c6abc63ca9319bea [file] [log] [blame]
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +03001parameters:
2 _param:
3 docker_security_monkey_api_replicas: 1
4 docker_security_monkey_scheduler_replicas: 1
5 docker_image_security_monkey_api: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-api:3842.6
6 docker_image_security_monkey_scheduler: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-scheduler:3842.6
7 security_monkey_db: secmonkey
8 docker:
9 client:
10 stack:
11 security_monkey:
12 environment:
13 SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user}
14 SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password}
15 SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host}
16 SECURITY_MONKEY_POSTGRES_PORT: ${_param:haproxy_postgresql_bind_port}
17 service:
18 api:
19 image: ${_param:docker_image_security_monkey_api}
20 deploy:
21 replicas: ${_param:docker_security_monkey_api_replicas}
22 restart_policy:
23 condition: any
24 ports:
25 - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port}
26 volumes:
27 - /srv/volumes/security_monkey:/var/log/security_monkey
28 scheduler:
29 image: ${_param:docker_image_security_monkey_scheduler}
30 deploy:
31 replicas: ${_param:docker_security_monkey_scheduler_replicas}
32 restart_policy:
33 condition: any
34 volumes:
35 - /srv/volumes/security_monkey:/var/log/security_monkey