blob: 1fb416f534ad4adf95210e44dee35a328289ef99 [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
7 docker:
8 client:
9 stack:
10 monitoring:
11 network:
12 monitoring:
13 driver: overlay
14 driver_opts:
15 encrypted: 1
16 service:
17 sf_notifier:
18 networks:
19 - monitoring
20 deploy:
21 replicas: 1
22 labels:
23 com.mirantis.monitoring: "sf-notifier"
24 restart_policy:
25 condition: any
26 labels:
27 com.mirantis.monitoring: "sf-notifier"
28 image: ${_param:docker_image_sf_notifier}
29 ports:
30 - 15018:5000
31 volumes:
32 - ${prometheus:sf_notifier:dir:logs}:/var/log/sf-notifier
33 environment:
34 SF_NOTIFIER_WORKERS: ${_param:sf_notifier_workers}
35 SF_NOTIFIER_BUFFER_SIZE: ${_param:sf_notifier_buffer_size}
36 SF_NOTIFIER_APP_PORT: ${prometheus:sf_notifier:uwsgi:bind_port}
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}