blob: b3b40742afdb387d64e1a8c7a747b10a5b8ab846 [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 Stoiko4320d742017-05-12 16:46:36 +03008 notification_service_url: ${_param:haproxy_pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json
9 security_monkey_user: devopsportal@devopsportal.local
10 security_monkey_password: devopsportal
11 security_monkey_role: Justify
12 security_monkey_openstack:
13 os_account_id: mcp_cloud
14 os_account_name: mcp_cloud
15 username: ""
16 password: ""
17 auth_url: ""
18 project_domain_name: Default
19 project_name: admin
20 user_domain_name: Default
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030021 docker:
22 client:
23 stack:
24 security_monkey:
25 environment:
26 SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user}
27 SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password}
28 SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host}
29 SECURITY_MONKEY_POSTGRES_PORT: ${_param:haproxy_postgresql_bind_port}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030030 NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url}
31 DEFAULT_USER: ${_param:security_monkey_user}
32 DEFAULT_PASSWORD: ${_param:security_monkey_password}
33 DEFAULT_ROLE: ${_param:security_monkey_role}
34 OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id}
35 OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name}
36 OS_USERNAME: ${_param:security_monkey_openstack:username}
37 OS_PASSWORD: ${_param:security_monkey_openstack:password}
38 OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url}
39 OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name}
40 OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name}
41 USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name}
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030042 service:
43 api:
44 image: ${_param:docker_image_security_monkey_api}
45 deploy:
46 replicas: ${_param:docker_security_monkey_api_replicas}
47 restart_policy:
48 condition: any
49 ports:
50 - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port}
51 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030052 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030053 scheduler:
54 image: ${_param:docker_image_security_monkey_scheduler}
55 deploy:
56 replicas: ${_param:docker_security_monkey_scheduler_replicas}
57 restart_policy:
58 condition: any
59 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030060 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs