Bartosz Kupidura | 3cbee94 | 2017-03-20 13:47:06 +0100 | [diff] [blame] | 1 | include: |
| 2 | - service.prometheus.alertmanager.container |
| 3 | parameters: |
| 4 | docker: |
| 5 | client: |
| 6 | service: |
| 7 | prometheus_alertmanager: |
| 8 | network: monitoring |
Bartosz Kupidura | 95e2cf5 | 2017-03-29 19:15:04 +0200 | [diff] [blame] | 9 | replicas: 2 |
Bartosz Kupidura | 3cbee94 | 2017-03-20 13:47:06 +0100 | [diff] [blame] | 10 | environment: |
| 11 | config_dir: /opt/alertmanager/config |
| 12 | bind_port: ${prometheus:alertmanager:bind:port} |
| 13 | bind_address: ${prometheus:alertmanager:bind:address} |
Bartosz Kupidura | 95e2cf5 | 2017-03-29 19:15:04 +0200 | [diff] [blame] | 14 | discovery_domain: 'prometheus_alertmanager' |
Bartosz Kupidura | 3cbee94 | 2017-03-20 13:47:06 +0100 | [diff] [blame] | 15 | restart: |
| 16 | condition: any |
| 17 | image: ${_param:docker_image_alertmanager} |
| 18 | ports: |
| 19 | - 15011:${prometheus:alertmanager:bind:port} |
| 20 | volume: |
| 21 | site: |
| 22 | type: bind |
Bartosz Kupidura | a186888 | 2017-03-29 12:38:05 +0200 | [diff] [blame] | 23 | source: /srv/volumes/prometheus |
Bartosz Kupidura | 3cbee94 | 2017-03-20 13:47:06 +0100 | [diff] [blame] | 24 | destination: /opt/alertmanager/config |