Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created October 2, 2017 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacoelho/0717ef7207513b82a8568236ae3dc473 to your computer and use it in GitHub Desktop.
Save jacoelho/0717ef7207513b82a8568236ae3dc473 to your computer and use it in GitHub Desktop.
alert manager mesh setup
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