blob: 2d06a429b120a364f0b964b18e2d198133798c78 [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 Stoiko12db8312017-06-30 12:02:14 +03005 docker_image_security_monkey_api: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-api:6700
6 docker_image_security_monkey_scheduler: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-scheduler:6700
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 Stoiko12db8312017-06-30 12:02:14 +030012 security_monkey_fqdn: ${_param:haproxy_security_monkey_bind_host}
13 security_monkey_web_port: ${_param:haproxy_security_monkey_bind_port}
14 security_monkey_api_port: ${_param:haproxy_security_monkey_bind_port}
15 security_monkey_nginx_port: ${_param:haproxy_security_monkey_bind_port}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030016 devops_portal_sm_wtf_csrf_enabled: False
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030017 security_monkey_openstack:
18 os_account_id: mcp_cloud
19 os_account_name: mcp_cloud
20 username: ""
21 password: ""
22 auth_url: ""
23 project_domain_name: Default
24 project_name: admin
25 user_domain_name: Default
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030026 docker:
27 client:
28 stack:
29 security_monkey:
30 environment:
31 SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user}
32 SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password}
33 SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host}
34 SECURITY_MONKEY_POSTGRES_PORT: ${_param:haproxy_postgresql_bind_port}
Volodymyr Stoiko12db8312017-06-30 12:02:14 +030035 SECURITY_MONKEY_FQDN: ${_param:security_monkey_fqdn}
36 WEB_PORT: ${_param:security_monkey_web_port}
37 API_PORT: ${_param:security_monkey_api_port}
38 NGINX_PORT: ${_param:security_monkey_nginx_port}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030039 NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url}
40 DEFAULT_USER: ${_param:security_monkey_user}
41 DEFAULT_PASSWORD: ${_param:security_monkey_password}
42 DEFAULT_ROLE: ${_param:security_monkey_role}
43 OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id}
44 OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name}
45 OS_USERNAME: ${_param:security_monkey_openstack:username}
46 OS_PASSWORD: ${_param:security_monkey_openstack:password}
47 OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url}
48 OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name}
49 OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name}
50 USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030051 SM_WTF_CSRF_ENABLED: ${_param:devops_portal_sm_wtf_csrf_enabled}
Volodymyr Stoikoe24d9e22017-07-11 11:29:07 +030052 SQLALCHEMY_DATABASE_URI: postgresql://${_param:secmonkey_db_user}:${_param:secmonkey_db_user_password}@${_param:secmonkey_db_host}:${_param:haproxy_postgresql_bind_port}/${_param:security_monkey_db}
53 SQLALCHEMY_POOL_RECYCLE: 14400
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030054 service:
55 api:
56 image: ${_param:docker_image_security_monkey_api}
57 deploy:
58 replicas: ${_param:docker_security_monkey_api_replicas}
59 restart_policy:
60 condition: any
61 ports:
62 - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port}
63 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030064 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030065 scheduler:
66 image: ${_param:docker_image_security_monkey_scheduler}
67 deploy:
68 replicas: ${_param:docker_security_monkey_scheduler_replicas}
69 restart_policy:
70 condition: any
71 volumes:
Vladislav Naumov0ec79c72017-07-02 16:36:05 +030072 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs