Created
October 25, 2018 14:19
-
-
Save Shmarkus/fb426083070b64af06dfb760a8450e17 to your computer and use it in GitHub Desktop.
Prometheus with Grafana compose file
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
version: "2" | |
services: | |
prometheus: | |
image: prom/prometheus | |
container_name: prometheus | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml | |
ports: | |
- 9090:9090 | |
grafana: | |
image: grafana/grafana | |
container_name: grafana | |
ports: | |
- 3000:3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be sure to create prometheus config file (replace APP-NAME, HOST and PORT):