blob: a77b457e3ecdd70d4d2a3d8cc880c5c856532143 [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
Mateusz Matuszkowiak2a51e982018-11-27 15:48:27 +010032 environment:
Michal Kobuse3d66d62020-04-02 18:50:52 +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}'