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 | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 5 | docker_image_security_monkey_api: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-api:4435 |
| 6 | docker_image_security_monkey_scheduler: docker-sandbox.sandbox.mirantis.net/vstoiko/oss/security-monkey-scheduler:4435 |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 7 | security_monkey_db: secmonkey |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 8 | notification_service_url: ${_param:haproxy_pushkin_bind_host}:${_param:haproxy_pushkin_bind_port}/post_notification_json |
| 9 | security_monkey_user: devopsportal@devopsportal.local |
| 10 | security_monkey_password: devopsportal |
| 11 | security_monkey_role: Justify |
| 12 | security_monkey_openstack: |
| 13 | os_account_id: mcp_cloud |
| 14 | os_account_name: mcp_cloud |
| 15 | username: "" |
| 16 | password: "" |
| 17 | auth_url: "" |
| 18 | project_domain_name: Default |
| 19 | project_name: admin |
| 20 | user_domain_name: Default |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 21 | docker: |
| 22 | client: |
| 23 | stack: |
| 24 | security_monkey: |
| 25 | environment: |
| 26 | SECURITY_MONKEY_POSTGRES_USER: ${_param:secmonkey_db_user} |
| 27 | SECURITY_MONKEY_POSTGRES_PASSWORD: ${_param:secmonkey_db_user_password} |
| 28 | SECURITY_MONKEY_POSTGRES_HOST: ${_param:secmonkey_db_host} |
| 29 | SECURITY_MONKEY_POSTGRES_PORT: ${_param:haproxy_postgresql_bind_port} |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 30 | NOTIFICATIONS_SERVICE_URL: ${_param:notification_service_url} |
| 31 | DEFAULT_USER: ${_param:security_monkey_user} |
| 32 | DEFAULT_PASSWORD: ${_param:security_monkey_password} |
| 33 | DEFAULT_ROLE: ${_param:security_monkey_role} |
| 34 | OS_ACCOUNT_ID: ${_param:security_monkey_openstack:os_account_id} |
| 35 | OS_ACCOUNT_NAME: ${_param:security_monkey_openstack:os_account_name} |
| 36 | OS_USERNAME: ${_param:security_monkey_openstack:username} |
| 37 | OS_PASSWORD: ${_param:security_monkey_openstack:password} |
| 38 | OS_AUTH_URL: ${_param:security_monkey_openstack:auth_url} |
| 39 | OS_PROJECT_DOMAIN_NAME: ${_param:security_monkey_openstack:project_domain_name} |
| 40 | OS_PROJECT_NAME: ${_param:security_monkey_openstack:project_name} |
| 41 | USER_DOMAIN_NAME: ${_param:security_monkey_openstack:user_domain_name} |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 42 | service: |
| 43 | api: |
| 44 | image: ${_param:docker_image_security_monkey_api} |
| 45 | deploy: |
| 46 | replicas: ${_param:docker_security_monkey_api_replicas} |
| 47 | restart_policy: |
| 48 | condition: any |
| 49 | ports: |
| 50 | - ${_param:haproxy_security_monkey_exposed_port}:${_param:haproxy_security_monkey_bind_port} |
| 51 | volumes: |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 52 | - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs |
Volodymyr Stoiko | 085cc1e | 2017-04-23 14:01:26 +0300 | [diff] [blame] | 53 | scheduler: |
| 54 | image: ${_param:docker_image_security_monkey_scheduler} |
| 55 | deploy: |
| 56 | replicas: ${_param:docker_security_monkey_scheduler_replicas} |
| 57 | restart_policy: |
| 58 | condition: any |
| 59 | volumes: |
Volodymyr Stoiko | 4320d74 | 2017-05-12 16:46:36 +0300 | [diff] [blame] | 60 | - /srv/volumes/security_monkey/logs:/var/log/security_monkey/logs |