Skip to content
Snippets Groups Projects

Add alerting

Merged Quentin Duchemin requested to merge vmalert into master
11 files
+ 526
24
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 13
0
ARG VERSION=v0.22.2
FROM prom/alertmanager:${VERSION}
COPY ./entrypoint.sh /entrypoint.sh
COPY ./templates.tpl /config/templates.tpl
# Initial image uses user nobody which cannot chmod nor sed
USER root
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "--config.file=/etc/amtool/config.yml", "--storage.path=/alertmanager" ]
Loading