mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-23 06:32:43 +00:00
9d4dccae7c
building tool
13 lines
433 B
Docker
13 lines
433 B
Docker
FROM prom/busybox:latest
|
|
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
|
|
|
|
COPY alertmanager /bin/alertmanager
|
|
COPY doc/examples/simple.yml /etc/alertmanager/config.yml
|
|
|
|
EXPOSE 9093
|
|
VOLUME [ "/alertmanager" ]
|
|
WORKDIR /alertmanager
|
|
ENTRYPOINT [ "/bin/alertmanager" ]
|
|
CMD [ "-config.file=/etc/alertmanager/config.yml", \
|
|
"-storage.path=/alertmanager" ]
|