Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | docker_security_monkey_api_replicas: 1 |
| 4 | docker_security_monkey_scheduler_replicas: 1 |
Volodymyr Stoiko | 12db831 | 2017-06-30 12:02:14 +0300 | [diff] [blame] | 5 | 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 Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 7 | security_monkey_db: secmonkey |
Volodymyr Stoiko | c137f44 | 2017-06-08 17:19:56 +0300 | [diff] [blame] | 8 | notification_service_url: http://${_param:haproxy_pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 9 | security_monkey_user: devopsportal@devopsportal.local |
| 10 | security_monkey_password: devopsportal |
| 11 | security_monkey_role: Justify |
Volodymyr Stoiko | 12db831 | 2017-06-30 12:02:14 +0300 | [diff] [blame] | 12 | 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 Stoiko | fdefe2f | 2017-06-06 10:15:47 +0300 | [diff] [blame] | 16 | devops_portal_sm_wtf_csrf_enabled: False |
Vladislav Naumov | 0ec79c7 | 2017-07-02 16:36:05 +0300 | [diff] [blame] | 17 | security_monkey_sync_interval: 15 |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 18 | security_monkey_openstack: |
| 19 | os_account_id: mcp_cloud |
| 20 | os_account_name: mcp_cloud |
| 21 | username: "" |
| 22 | password: "" |
| 23 | auth_url: "" |
| 24 | project_domain_name: Default |
| 25 | project_name: admin |
| 26 | user_domain_name: Default |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 27 | docker: |
| 28 | client: |
| 29 | stack: |
| 30 | security_monkey: |
| 31 | environment: |
| 32 | SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user} |
| 33 | SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password} |
| 34 | SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host} |
| 35 | SECURITY_MONKEY_POSTGRES_PORT: ${_param:haproxy_postgresql_bind_port} |
Volodymyr Stoiko | 12db831 | 2017-06-30 12:02:14 +0300 | [diff] [blame] | 36 | SECURITY_MONKEY_FQDN: ${_param:security_monkey_fqdn} |
| 37 | WEB_PORT: ${_param:security_monkey_web_port} |
| 38 | API_PORT: ${_param:security_monkey_api_port} |
| 39 | NGINX_PORT: ${_param:security_monkey_nginx_port} |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 40 | NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url} |
| 41 | DEFAULT_USER: ${_param:security_monkey_user} |
| 42 | DEFAULT_PASSWORD: ${_param:security_monkey_password} |
| 43 | DEFAULT_ROLE: ${_param:security_monkey_role} |
| 44 | OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id} |
| 45 | OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name} |
| 46 | OS_USERNAME: ${_param:security_monkey_openstack:username} |
| 47 | OS_PASSWORD: ${_param:security_monkey_openstack:password} |
| 48 | OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url} |
| 49 | OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name} |
| 50 | OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name} |
| 51 | USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name} |
Volodymyr Stoiko | fdefe2f | 2017-06-06 10:15:47 +0300 | [diff] [blame] | 52 | SM_WTF_CSRF_ENABLED: ${_param:devops_portal_sm_wtf_csrf_enabled} |
Vladislav Naumov | 0ec79c7 | 2017-07-02 16:36:05 +0300 | [diff] [blame] | 53 | SECURITY_MONKEY_SYNC_INTERVAL: ${_param:security_monkey_sync_interval} |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 54 | 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 Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 64 | - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 65 | 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 Naumov | 0ec79c7 | 2017-07-02 16:36:05 +0300 | [diff] [blame] | 72 | - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs |