Created
October 2, 2017 14:40
-
-
Save jacoelho/0717ef7207513b82a8568236ae3dc473 to your computer and use it in GitHub Desktop.
alert manager mesh setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
alertmanager: | |
image: prom/alertmanager | |
ports: ["9093:9093"] | |
command: [ "-config.file=/etc/alertmanager/config.yml", "-storage.path=/alertmanager" ] | |
networks: | |
- backend | |
workers: | |
image: prom/alertmanager | |
ports: ["9093"] | |
command: [ "-mesh.peer=alertmanager", "-config.file=/etc/alertmanager/config.yml", "-storage.path=/alertmanager" ] | |
networks: | |
- backend | |
networks: | |
backend: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment