blob: 0fab44b97f8224fb468c12216e8efdc59830741e [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 Stoiko804ff722017-08-17 13:19:16 +03005 docker_image_security_monkey_api: docker-prod-local.artifactory.mirantis.com/mirantis/oss/security-monkey-api
6 docker_image_security_monkey_scheduler: docker-prod-local.artifactory.mirantis.com/mirantis/oss/security-monkey-scheduler
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +03007 security_monkey_bind_host: security-audit-api
8 security_monkey_bind_port: ${_param:haproxy_security_monkey_bind_port}
9 security_monkey_ssl:
10 enabled: false
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030011 security_monkey_db: secmonkey
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030012 notification_service_url: http://${_param:pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030013 security_monkey_user: devopsportal@devopsportal.local
14 security_monkey_password: devopsportal
15 security_monkey_role: Justify
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030016 security_monkey_fqdn: ${_param:security_monkey_bind_host}
17 security_monkey_web_port: ${_param:security_monkey_bind_port}
18 security_monkey_api_port: ${_param:security_monkey_bind_port}
19 security_monkey_nginx_port: ${_param:security_monkey_bind_port}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030020 devops_portal_sm_wtf_csrf_enabled: False
Vladislav Naumovddb85072017-07-14 11:43:21 +030021 security_monkey_sync_interval: 15
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030022 security_monkey_openstack:
23 os_account_id: mcp_cloud
24 os_account_name: mcp_cloud
25 username: ""
26 password: ""
27 auth_url: ""
28 project_domain_name: Default
29 project_name: admin
30 user_domain_name: Default
Vladislav Naumov6969b7f2017-08-30 13:23:39 +030031 cacert_path: /srv/volumes/rundeck/storage/content/cis/openstack/cert.pem
32 cafile: /opt/certs/cert.pem
Vladislav Naumov976d9ff2017-09-12 12:56:17 +030033 endpoint_type: "public"
34 ssl_verify: False
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030035 docker:
36 client:
37 stack:
38 security_monkey:
39 environment:
40 SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user}
41 SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password}
42 SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host}
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030043 SECURITY_MONKEY_POSTGRES_PORT: ${_param:postgresql_bind_port}
Volodymyr Stoiko12db8312017-06-30 12:02:14 +030044 SECURITY_MONKEY_FQDN: ${_param:security_monkey_fqdn}
45 WEB_PORT: ${_param:security_monkey_web_port}
46 API_PORT: ${_param:security_monkey_api_port}
47 NGINX_PORT: ${_param:security_monkey_nginx_port}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030048 NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url}
49 DEFAULT_USER: ${_param:security_monkey_user}
50 DEFAULT_PASSWORD: ${_param:security_monkey_password}
51 DEFAULT_ROLE: ${_param:security_monkey_role}
52 OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id}
53 OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name}
54 OS_USERNAME: ${_param:security_monkey_openstack:username}
55 OS_PASSWORD: ${_param:security_monkey_openstack:password}
56 OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url}
57 OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name}
58 OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name}
Vladislav Naumov976d9ff2017-09-12 12:56:17 +030059 OS_SSL_VERIFY: ${_param:security_monkey_openstack:ssl_verify}
60 OS_ENDPOINT_TYPE: ${_param:security_monkey_openstack:endpoint_type}
Vladislav Naumov6969b7f2017-08-30 13:23:39 +030061 CACERT_PATH: ${_param:security_monkey_openstack:cafile}
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030062 USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name}
Volodymyr Stoikofdefe2f2017-06-06 10:15:47 +030063 SM_WTF_CSRF_ENABLED: ${_param:devops_portal_sm_wtf_csrf_enabled}
Vladislav Naumovddb85072017-07-14 11:43:21 +030064 SECURITY_MONKEY_SYNC_INTERVAL: ${_param:security_monkey_sync_interval}
Volodymyr Stoikoe24d9e22017-07-11 11:29:07 +030065 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}
66 SQLALCHEMY_POOL_RECYCLE: 14400
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030067 service:
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030068 security-audit-api:
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030069 image: ${_param:docker_image_security_monkey_api}
70 deploy:
71 replicas: ${_param:docker_security_monkey_api_replicas}
72 restart_policy:
73 condition: any
74 ports:
75 - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port}
76 volumes:
Volodymyr Stoiko4320d742017-05-12 16:46:36 +030077 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Vladislav Naumov6969b7f2017-08-30 13:23:39 +030078 - ${_param:security_monkey_openstack:cacert_path}:${_param:security_monkey_openstack:cafile}:ro
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030079 security-audit-scheduler:
Volodymyr Stoiko085cc1e2017-04-23 14:01:26 +030080 image: ${_param:docker_image_security_monkey_scheduler}
81 deploy:
82 replicas: ${_param:docker_security_monkey_scheduler_replicas}
83 restart_policy:
84 condition: any
85 volumes:
Vladislav Naumov0ec79c72017-07-02 16:36:05 +030086 - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs
Vladislav Naumov6969b7f2017-08-30 13:23:39 +030087 - ${_param:security_monkey_openstack:cacert_path}:${_param:security_monkey_openstack:cafile}:ro
Volodymyr Stoiko1ae92ce2017-08-11 11:45:12 +030088 network:
89 default:
90 external:
91 name: oss_backend