- Corrections for setting up the test environment
- Correction of some bugs discovered
This commit is contained in:
13
docker/prometheus/Dockerfile
Normal file
13
docker/prometheus/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM prom/prometheus:latest
|
||||
|
||||
COPY prometheus.yml /etc/prometheus/prometheus.yml
|
||||
|
||||
# Expose the Prometheus UI and metrics endpoint
|
||||
EXPOSE 9090
|
||||
|
||||
# Run Prometheus with the config file
|
||||
CMD ["--config.file=/etc/prometheus/prometheus.yml", \
|
||||
"--storage.tsdb.path=/prometheus", \
|
||||
"--web.console.libraries=/etc/prometheus/console_libraries", \
|
||||
"--web.console.templates=/etc/prometheus/consoles", \
|
||||
"--web.enable-lifecycle"]
|
||||
Reference in New Issue
Block a user