10 lines
397 B
Docker
10 lines
397 B
Docker
FROM prom/prometheus:v2.24.0
|
|
|
|
ADD prometheus.yml /etc/prometheus/
|
|
|
|
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", \
|
|
"--web.external-url=http://localhost:9090/prometheus" ]
|