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 | 804ff72 | 2017-08-17 13:19:16 +0300 | [diff] [blame] | 5 | 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 Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 7 | 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 Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 11 | security_monkey_db: secmonkey |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 12 | notification_service_url: http://${_param:pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 13 | security_monkey_user: devopsportal@devopsportal.local |
| 14 | security_monkey_password: devopsportal |
| 15 | security_monkey_role: Justify |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 16 | 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 Stoiko | fdefe2f | 2017-06-06 10:15:47 +0300 | [diff] [blame] | 20 | devops_portal_sm_wtf_csrf_enabled: False |
Vladislav Naumov | ddb8507 | 2017-07-14 11:43:21 +0300 | [diff] [blame] | 21 | security_monkey_sync_interval: 15 |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 22 | 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 Naumov | 6969b7f | 2017-08-30 13:23:39 +0300 | [diff] [blame] | 31 | cacert_path: /srv/volumes/rundeck/storage/content/cis/openstack/cert.pem |
| 32 | cafile: /opt/certs/cert.pem |
Vladislav Naumov | 976d9ff | 2017-09-12 12:56:17 +0300 | [diff] [blame] | 33 | endpoint_type: "public" |
| 34 | ssl_verify: False |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 35 | 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 Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 43 | SECURITY_MONKEY_POSTGRES_PORT: ${_param:postgresql_bind_port} |
Volodymyr Stoiko | 12db831 | 2017-06-30 12:02:14 +0300 | [diff] [blame] | 44 | 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 Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 48 | 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 Naumov | 976d9ff | 2017-09-12 12:56:17 +0300 | [diff] [blame] | 59 | OS_SSL_VERIFY: ${_param:security_monkey_openstack:ssl_verify} |
| 60 | OS_ENDPOINT_TYPE: ${_param:security_monkey_openstack:endpoint_type} |
Vladislav Naumov | 6969b7f | 2017-08-30 13:23:39 +0300 | [diff] [blame] | 61 | CACERT_PATH: ${_param:security_monkey_openstack:cafile} |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 62 | USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name} |
Volodymyr Stoiko | fdefe2f | 2017-06-06 10:15:47 +0300 | [diff] [blame] | 63 | SM_WTF_CSRF_ENABLED: ${_param:devops_portal_sm_wtf_csrf_enabled} |
Vladislav Naumov | ddb8507 | 2017-07-14 11:43:21 +0300 | [diff] [blame] | 64 | SECURITY_MONKEY_SYNC_INTERVAL: ${_param:security_monkey_sync_interval} |
Volodymyr Stoiko | e24d9e2 | 2017-07-11 11:29:07 +0300 | [diff] [blame] | 65 | 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 Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 67 | service: |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 68 | security-audit-api: |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 69 | 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 Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 77 | - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs |
Vladislav Naumov | 6969b7f | 2017-08-30 13:23:39 +0300 | [diff] [blame] | 78 | - ${_param:security_monkey_openstack:cacert_path}:${_param:security_monkey_openstack:cafile}:ro |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 79 | security-audit-scheduler: |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 80 | 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 Naumov | 0ec79c7 | 2017-07-02 16:36:05 +0300 | [diff] [blame] | 86 | - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs |
Vladislav Naumov | 6969b7f | 2017-08-30 13:23:39 +0300 | [diff] [blame] | 87 | - ${_param:security_monkey_openstack:cacert_path}:${_param:security_monkey_openstack:cafile}:ro |
Volodymyr Stoiko | 1ae92ce | 2017-08-11 11:45:12 +0300 | [diff] [blame] | 88 | network: |
| 89 | default: |
| 90 | external: |
| 91 | name: oss_backend |