blob: 143b3214867f544fe348e76d8a974f00651b759a [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
Volodymyr Stoiko4320d742017-05-12 16:46:36 +03005 docker_image_security_monkey_api: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-api:4435
6 docker_image_security_monkey_scheduler: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-scheduler:4435
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +03007 security_monkey_db: secmonkey
Volodymyr Stoikoc137f442017-06-08 17:19:56 +03008 notification_service_url: http://${_param:haproxy_pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json
Volodymyr Stoiko4320d742017-05-12 16:46:36 +03009 security_monkey_user: devopsportal@devopsportal.local
10 security_monkey_password: devopsportal
11 security_monkey_role: Justify
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030012 devops_portal_sm_wtf_csrf_enabled: False
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030013 security_monkey_openstack:
14 os_account_id: mcp_cloud
15 os_account_name: mcp_cloud
16 username: ""
17 password: ""
18 auth_url: ""
19 project_domain_name: Default
20 project_name: admin
21 user_domain_name: Default
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030022 docker:
23 client:
24 stack:
25 security_monkey:
26 environment:
27 SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user}
28 SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password}
29 SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host}
30 SECURITY_MONKEY_POSTGRES_PORT: ${_param:haproxy_postgresql_bind_port}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030031 NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url}
32 DEFAULT_USER: ${_param:security_monkey_user}
33 DEFAULT_PASSWORD: ${_param:security_monkey_password}
34 DEFAULT_ROLE: ${_param:security_monkey_role}
35 OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id}
36 OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name}
37 OS_USERNAME: ${_param:security_monkey_openstack:username}
38 OS_PASSWORD: ${_param:security_monkey_openstack:password}
39 OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url}
40 OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name}
41 OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name}
42 USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030043 SM_WTF_CSRF_ENABLED: ${_param:devops_portal_sm_wtf_csrf_enabled}
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030044 service:
45 api:
46 image: ${_param:docker_image_security_monkey_api}
47 deploy:
48 replicas: ${_param:docker_security_monkey_api_replicas}
49 restart_policy:
50 condition: any
51 ports:
52 - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port}
53 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030054 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030055 scheduler:
56 image: ${_param:docker_image_security_monkey_scheduler}
57 deploy:
58 replicas: ${_param:docker_security_monkey_scheduler_replicas}
59 restart_policy:
60 condition: any
61 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030062 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs