Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set environment for alertmanager2es ? #16

Open
SAbdulRahuman opened this issue May 13, 2020 · 1 comment
Open

How to set environment for alertmanager2es ? #16

SAbdulRahuman opened this issue May 13, 2020 · 1 comment

Comments

@SAbdulRahuman
Copy link

Hi ,
I need to use alertmanager2es using docker, is there any example to set environment variable to alertmanager2es like addr, port, and etc ?.

@Dhyanesh97
Copy link

Dhyanesh97 commented Dec 7, 2021

I am also struggling to setup an docker for alertmanager2es.
Is there any proper doc for it ?
Also I need to send alerts to elastic cloud so, can you provide any additional info about it

I have added below lines to docker but doesn't seems to be working

alertmanagere2e:
    image: webdevops/alertmanager2es
    container_name: alertmanagere2e
    restart: always
    networks:
      - analytics
    ports:
      - "9097:9097"
    command: ./alertmanager2es --elasticsearch.address="url:port/" --elasticsearch.username="username" --elasticsearch.password="password" --elasticsearch.index="alertmanager-2" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants