mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-14 01:52:26 +00:00
d03e0ba116
Signed-off-by: Tariq Ibrahim <tariq.ibrahim@microsoft.com>
14 lines
504 B
Docker
14 lines
504 B
Docker
FROM prom/busybox:latest
|
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
|
|
|
COPY amtool /bin/amtool
|
|
COPY alertmanager /bin/alertmanager
|
|
COPY examples/ha/alertmanager.yml /etc/alertmanager/alertmanager.yml
|
|
|
|
EXPOSE 9093
|
|
VOLUME [ "/alertmanager" ]
|
|
WORKDIR /alertmanager
|
|
ENTRYPOINT [ "/bin/alertmanager" ]
|
|
CMD [ "--config.file=/etc/alertmanager/alertmanager.yml", \
|
|
"--storage.path=/alertmanager" ]
|