|
|
|
@ -16,7 +16,7 @@ EXPOSE 9090
|
|
|
|
|
VOLUME [ "/prometheus" ]
|
|
|
|
|
WORKDIR /prometheus
|
|
|
|
|
ENTRYPOINT [ "/bin/prometheus" ]
|
|
|
|
|
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \
|
|
|
|
|
"-storage.local.path=/prometheus", \
|
|
|
|
|
"-web.console.libraries=/usr/share/prometheus/console_libraries", \
|
|
|
|
|
"-web.console.templates=/usr/share/prometheus/consoles" ]
|
|
|
|
|
CMD [ "--config.file=/etc/prometheus/prometheus.yml", \
|
|
|
|
|
"--storage.tsdb.path=/prometheus", \
|
|
|
|
|
"--web.console.libraries=/usr/share/prometheus/console_libraries", \
|
|
|
|
|
"--web.console.templates=/usr/share/prometheus/consoles" ]
|
|
|
|
|