blob: 5a975a1000f5eff587e52637fb6d2dfbef45d582 [file] [log] [blame]
Mateusz Matuszkowiak0d7384b2018-06-14 20:25:47 +02001classes:
2- system.prometheus.gainsight.container
3parameters:
4 _param:
5 gainsight_csv_upload_url: 'http://localhost:9999'
6 gainsight_account_id: 'default'
7 gainsight_environment_id: 'default'
8 gainsight_app_org_id: 'default'
9 gainsight_access_key: 'default'
10 gainsight_job_id: 'default'
11 gainsight_login: 'default'
12 gainsight_prometheus_url: "http://${_param:stacklight_monitor_address}:${prometheus:server:bind:port}"
13 gainsight_config_directory: '/srv/gainsight'
14 gainsight_config_path: "${_param:gainsight_config_directory}/config.ini"
15 docker_image_prometheus_gainsight: 'docker-prod-local.artifactory.mirantis.com/openstack-docker/gainsight:nightly'
16 docker:
17 client:
18 stack:
19 monitoring:
20 network:
21 monitoring:
22 driver: overlay
23 driver_opts:
24 encrypted: 1
25 service:
26 gainsight:
27 networks:
28 - monitoring
29 deploy:
30 replicas: 1
31 labels:
32 com.mirantis.monitoring: "gainsight"
33 restart_policy:
34 condition: any
35 labels:
36 com.mirantis.monitoring: "gainsight"
37 image: ${_param:docker_image_prometheus_gainsight}
38 volumes:
39 - ${prometheus:gainsight:dir:config}:${_param:gainsight_config_directory}
40 environment:
41 CSV_UPLOAD_URL: "${_param:gainsight_csv_upload_url}"
42 ACCOUNT_ID: "${_param:gainsight_account_id}"
43 ENVIRONMENT_ID: "${_param:gainsight_environment_id}"
44 APP_ORG_ID: "${_param:gainsight_app_org_id}"
45 ACCESS_KEY: "${_param:gainsight_access_key}"
46 JOB_ID: "${_param:gainsight_job_id}"
47 LOGIN: "${_param:gainsight_login}"
48 PROMETHEUS_URL: "${_param:gainsight_prometheus_url}"
49 CONFIG_PATH: "${_param:gainsight_config_path}"