blob: 5770b09aa2431971a74d894e097925b206deabbb [file] [log] [blame]
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +01001classes:
2- system.prometheus.sf_notifier.container
3parameters:
4 _param:
Michal Kobusa51df0d2020-06-04 14:48:58 +02005 sf_notifier_workers: 8
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +01006 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
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +010032 environment:
Michal Kobus72f4a992020-05-14 12:09:53 +020033 SF_NOTIFIER_WORKERS: ${_param:sf_notifier_workers}
34 SF_NOTIFIER_BUFFER_SIZE: ${_param:sf_notifier_buffer_size}
35 SF_NOTIFIER_APP_PORT: ${prometheus:sf_notifier:uwsgi:bind_port}
36 SF_NOTIFIER_ALERT_ID_HASH_FUNC: ${_param:sf_notifier_alert_id_hash_func}
37 SFDC_AUTH_URL: "${_param:sf_notifier_sfdc_auth_url}"
38 SFDC_USERNAME: "${_param:sf_notifier_sfdc_username}"
39 SFDC_PASSWORD: "${_param:sf_notifier_sfdc_password}"
40 SFDC_ORGANIZATION_ID: "${_param:sf_notifier_sfdc_organization_id}"
41 SFDC_ENVIRONMENT_ID: "${_param:sf_notifier_sfdc_environment_id}"
42 SFDC_SANDBOX_ENABLED: "${_param:sf_notifier_sfdc_sandbox_enabled}"