Created
September 26, 2016 12:00
-
-
Save akosveres/650930791fae2730283d4507a2799da0 to your computer and use it in GitHub Desktop.
This file contains 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:master | |
MAINTAINER me | |
COPY prometheus.yml /etc/prometheus/prometheus.yml | |
COPY targets/ /etc/prometheus/targets/ | |
COPY rules/ /etc/prometheus/rules/ | |
EXPOSE 9090 | |
VOLUME [ "/prometheus" ] | |
WORKDIR /prometheus | |
ENTRYPOINT [ "/bin/prometheus" ] | |
CMD [ "-config.file=/etc/prometheus/prometheus.yml", \ | |
"-storage.local.path=/prometheus", \ | |
"-web.console.libraries=/etc/prometheus/console_libraries", \ | |
"-web.console.templates=/etc/prometheus/consoles", \ | |
"-config.file=/etc/prometheus/prometheus.yml", \ | |
"-storage.local.path=/prometheus", \ | |
"-web.console.libraries=/etc/prometheus/console_libraries", \ | |
"-web.console.templates=/etc/prometheus/consoles", \ | |
"-web.listen-address=:9090", \ | |
# "-alertmanager.url=http://alertmanager.weave.local:9093", \ | |
"-web.external-url=https://prometheus.fqdn.tld", \ | |
"-storage.local.memory-chunks=10000000", \ | |
"-storage.local.max-chunks-to-persist=7000000", \ | |
"-storage.local.retention=24h", \ | |
"-storage.local.series-file-shrink-ratio=0.34", \ | |
"-storage.local.chunk-encoding-version=2" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment