blob: 461eb0be7e9bb4da4bc7f7c465703e604c4cf42e [file] [log] [blame]
Dmitry Kalashnik0581b082018-02-26 13:20:21 +04001classes:
2- system.prometheus.pushgateway.container
3parameters:
4 docker:
5 client:
6 stack:
7 monitoring:
8 network:
9 monitoring:
10 driver: overlay
11 driver_opts:
12 encrypted: 1
13 service:
14 pushgateway:
15 networks:
16 - monitoring
17 deploy:
18 replicas: 2
19 labels:
20 com.mirantis.monitoring: "pushgateway"
21 restart_policy:
22 condition: any
23 environment:
24 PUSHGATEWAY_BIND_PORT: ${prometheus:pushgateway:bind:port}
25 PUSHGATEWAY_BIND_ADDRESS: ${prometheus:pushgateway:bind:address}
Michal Kobus63075f52018-06-29 18:03:20 +020026 PUSHGATEWAY_DATA_DIR: ${_param:prometheus_pushgateway_data_directory}
Dmitry Kalashnik0581b082018-02-26 13:20:21 +040027 labels:
28 com.mirantis.monitoring: "pushgateway"
29 image: ${_param:docker_image_pushgateway}
30 ports:
31 - 15012:${prometheus:pushgateway:bind:port}
Michal Kobus63075f52018-06-29 18:03:20 +020032 volumes:
33 - ${prometheus:pushgateway:dir:data}:${_param:prometheus_pushgateway_data_directory}