Files
eveAI/docker/prometheus/Dockerfile
Josako 4c480c9baa - Corrections for setting up the test environment
- Correction of some bugs discovered
2025-05-08 14:15:06 +02:00

13 lines
434 B
Docker

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"]