Created
April 19, 2024 12:18
-
-
Save morsik/ab70c4752621ff3e49bc93c8b2cb73ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM prom/prometheus:v2.51.2 | |
COPY prometheus.yml /etc/prometheus/prometheus.yml | |
COPY web.yml /etc/prometheus/web.yml | |
COPY entrypoint.sh /entrypoint.sh | |
ENV TZ=Europe/Warsaw | |
ENTRYPOINT ["/entrypoint.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
exec /bin/prometheus --web.enable-admin-api --config.file=/etc/prometheus/prometheus.yml --web.config.file=/etc/prometheus/web.yml --web.listen-address=:$PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment