blob: 5b7046c8c02815feebca94b0f872082fcbbd69a8 [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
Vnaumov1aaf3e62017-10-30 12:40:20 +03005 secmonkey_login_id: 11
6 secmonkey_application_id: 1
azvyagintsev16ca7ce2018-08-21 17:20:33 +03007 docker_image_security_monkey_api: ${_param:mcp_docker_registry}/mirantis/oss/security-monkey-api
8 docker_image_security_monkey_scheduler: ${_param:mcp_docker_registry}/mirantis/oss/security-monkey-scheduler
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03009 security_monkey_bind_host: security-audit-api
10 security_monkey_bind_port: ${_param:haproxy_security_monkey_bind_port}
11 security_monkey_ssl:
12 enabled: false
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030013 security_monkey_db: secmonkey
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030014 notification_service_url: http://${_param:pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030015 security_monkey_user: devopsportal@devopsportal.local
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030016 security_monkey_role: Justify
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030017 security_monkey_fqdn: ${_param:security_monkey_bind_host}
18 security_monkey_web_port: ${_param:security_monkey_bind_port}
19 security_monkey_api_port: ${_param:security_monkey_bind_port}
20 security_monkey_nginx_port: ${_param:security_monkey_bind_port}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030021 devops_portal_sm_wtf_csrf_enabled: False
Vladislav Naumovddb85072017-07-14 11:43:21 +030022 security_monkey_sync_interval: 15
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030023 security_monkey_openstack:
24 os_account_id: mcp_cloud
25 os_account_name: mcp_cloud
Vladislav Naumovd5eeceb2017-09-13 11:07:44 +030026 auth_url: http://yourcloud.com:5000/v3/auth/tokens
27 username: admin
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030028 project_domain_name: Default
29 project_name: admin
30 user_domain_name: Default
Vladislav Naumovd5eeceb2017-09-13 11:07:44 +030031 endpoint_type: public
Vladislav Naumov976d9ff2017-09-12 12:56:17 +030032 ssl_verify: False
Vnaumov1f1c0302018-01-10 17:05:51 +040033 source_credentials_dir: /srv/volumes/rundeck/storage
34 destination_credentials_dir: /opt/os_creds
35 cacert_path: ${_param:security_monkey_openstack:destination_credentials_dir}/content/keys/cis/openstack/cert.pem
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030036 docker:
37 client:
38 stack:
39 security_monkey:
40 environment:
41 SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user}
42 SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password}
43 SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030044 SECURITY_MONKEY_POSTGRES_PORT: ${_param:postgresql_bind_port}
Volodymyr Stoiko12db8312017-06-30 12:02:14 +030045 SECURITY_MONKEY_FQDN: ${_param:security_monkey_fqdn}
46 WEB_PORT: ${_param:security_monkey_web_port}
47 API_PORT: ${_param:security_monkey_api_port}
48 NGINX_PORT: ${_param:security_monkey_nginx_port}
Vnaumov1aaf3e62017-10-30 12:40:20 +030049 NOTIFICATIONS_APP_ID: ${_param:secmonkey_application_id}
50 NOTIFICATIONS_LOGIN_ID: ${_param:secmonkey_login_id}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030051 NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url}
52 DEFAULT_USER: ${_param:security_monkey_user}
53 DEFAULT_PASSWORD: ${_param:security_monkey_password}
54 DEFAULT_ROLE: ${_param:security_monkey_role}
55 OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id}
56 OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name}
57 OS_USERNAME: ${_param:security_monkey_openstack:username}
58 OS_PASSWORD: ${_param:security_monkey_openstack:password}
59 OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url}
60 OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name}
61 OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name}
Vladislav Naumov976d9ff2017-09-12 12:56:17 +030062 OS_SSL_VERIFY: ${_param:security_monkey_openstack:ssl_verify}
63 OS_ENDPOINT_TYPE: ${_param:security_monkey_openstack:endpoint_type}
Vnaumov1f1c0302018-01-10 17:05:51 +040064 CACERT_PATH: ${_param:security_monkey_openstack:cacert_path}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030065 USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030066 SM_WTF_CSRF_ENABLED: ${_param:devops_portal_sm_wtf_csrf_enabled}
Vladislav Naumovddb85072017-07-14 11:43:21 +030067 SECURITY_MONKEY_SYNC_INTERVAL: ${_param:security_monkey_sync_interval}
Volodymyr Stoikoe24d9e22017-07-11 11:29:07 +030068 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}
Vnaumov1aaf3e62017-10-30 12:40:20 +030069 SQLALCHEMY_POOL_RECYCLE: 25000
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030070 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030071 security-audit-api:
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030072 image: ${_param:docker_image_security_monkey_api}
73 deploy:
74 replicas: ${_param:docker_security_monkey_api_replicas}
75 restart_policy:
76 condition: any
77 ports:
78 - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port}
79 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030080 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Vnaumov1f1c0302018-01-10 17:05:51 +040081 - ${_param:security_monkey_openstack:source_credentials_dir}:${_param:security_monkey_openstack:destination_credentials_dir}:ro
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030082 security-audit-scheduler:
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030083 image: ${_param:docker_image_security_monkey_scheduler}
84 deploy:
85 replicas: ${_param:docker_security_monkey_scheduler_replicas}
86 restart_policy:
87 condition: any
88 volumes:
Vladislav Naumov0ec79c72017-07-02 16:36:05 +030089 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Vnaumov1f1c0302018-01-10 17:05:51 +040090 - ${_param:security_monkey_openstack:source_credentials_dir}:${_param:security_monkey_openstack:destination_credentials_dir}:ro
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030091 network:
92 default:
93 external:
94 name: oss_backend