Dmitry Kalashnik | 0581b08 | 2018-02-26 13:20:21 +0400 | [diff] [blame] | 1 | parameters: |
2 | docker: | ||||
3 | client: | ||||
4 | stack: | ||||
5 | monitoring: | ||||
6 | network: | ||||
7 | monitoring: | ||||
8 | driver: overlay | ||||
9 | driver_opts: | ||||
10 | encrypted: 1 | ||||
11 | service: | ||||
12 | relay: | ||||
13 | networks: | ||||
14 | - monitoring | ||||
15 | deploy: | ||||
16 | replicas: 2 | ||||
17 | labels: | ||||
18 | com.mirantis.monitoring: "relay" | ||||
19 | restart_policy: | ||||
20 | condition: any | ||||
21 | labels: | ||||
22 | com.mirantis.monitoring: "relay" | ||||
23 | image: ${_param:docker_image_prometheus_relay} | ||||
24 | ports: | ||||
25 | - 15016:8080 | ||||
26 | environment: | ||||
27 | PROMETHEUS_RELAY_DNS: 'tasks.monitoring_server' |