blob: a171ce8df8e889928bda6117352d608fd716f827 [file] [log] [blame]
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +01001classes:
2- system.prometheus.sf_notifier.container
3parameters:
4 _param:
5 sf_notifier_workers: 4
6 sf_notifier_buffer_size: 32768
Mateusz Matuszkowiakb4ff2532018-12-10 12:21:19 +01007 sf_notifier_alert_id_hash_func: sha256
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +01008 docker:
9 client:
10 stack:
11 monitoring:
12 network:
13 monitoring:
14 driver: overlay
15 driver_opts:
16 encrypted: 1
17 service:
18 sf_notifier:
19 networks:
20 - monitoring
21 deploy:
22 replicas: 1
23 labels:
24 com.mirantis.monitoring: "sf-notifier"
25 restart_policy:
26 condition: any
27 labels:
28 com.mirantis.monitoring: "sf-notifier"
29 image: ${_param:docker_image_sf_notifier}
30 ports:
31 - 15018:5000
32 volumes:
33 - ${prometheus:sf_notifier:dir:logs}:/var/log/sf-notifier
34 environment:
35 SF_NOTIFIER_WORKERS: ${_param:sf_notifier_workers}
36 SF_NOTIFIER_BUFFER_SIZE: ${_param:sf_notifier_buffer_size}
37 SF_NOTIFIER_APP_PORT: ${prometheus:sf_notifier:uwsgi:bind_port}
Mateusz Matuszkowiakb4ff2532018-12-10 12:21:19 +010038 SF_NOTIFIER_ALERT_ID_HASH_FUNC: ${_param:sf_notifier_alert_id_hash_func}
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +010039 SFDC_AUTH_URL: "${_param:sf_notifier_sfdc_auth_url}"
40 SFDC_USERNAME: "${_param:sf_notifier_sfdc_username}"
41 SFDC_PASSWORD: "${_param:sf_notifier_sfdc_password}"
42 SFDC_ORGANIZATION_ID: "${_param:sf_notifier_sfdc_organization_id}"
43 SFDC_ENVIRONMENT_ID: "${_param:sf_notifier_sfdc_environment_id}"
Michal Kobusa40276d2018-12-13 14:52:01 +010044 SFDC_SANDBOX_ENABLED: "${_param:sf_notifier_sfdc_sandbox_enabled}"