Dmitry Kalashnik | 0581b08 | 2018-02-26 13:20:21 +0400 | [diff] [blame] | 1 | classes: |
| 2 | - system.prometheus.pushgateway.container |
| 3 | parameters: |
| 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} |