2015-11-18 10:51:04 +01:00
|
|
|
FROM prom/prometheus:0.16.1
|
2015-08-18 14:36:46 +02:00
|
|
|
|
2015-08-18 23:28:12 +02:00
|
|
|
ADD prometheus.yml /etc/prometheus/prometheus.yml
|
2015-08-18 14:36:46 +02:00
|
|
|
|
2015-08-18 23:28:12 +02:00
|
|
|
RUN mkdir -p /etc/prometheus/targets.d
|
|
|
|
|
|
|
|
EXPOSE 9090
|
2015-08-18 14:36:46 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "/bin/prometheus" ]
|
|
|
|
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \
|
|
|
|
"-storage.local.path=/prometheus", \
|
|
|
|
"-web.console.libraries=/etc/prometheus/console_libraries", \
|
2015-08-18 23:28:12 +02:00
|
|
|
"-web.console.templates=/etc/prometheus/consoles", \
|
|
|
|
"-web.listen-address=:9090" ]
|