blob: af108a6304fbd94d3e088d9c778684d9e53e8075 [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}
26 labels:
27 com.mirantis.monitoring: "pushgateway"
28 image: ${_param:docker_image_pushgateway}
29 ports:
30 - 15012:${prometheus:pushgateway:bind:port}