Last active
June 2, 2020 23:12
-
-
Save neilkillen/7f86fa731c7df00e7b5d691f62e84d89 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
version: '2.4' | |
networks: | |
prom.local: | |
services: | |
prometheus: | |
image: prom/prometheus | |
volumes: | |
- ./prometheus/config/:/etc/prometheus/ | |
- ./prometheus/data:/prometheus | |
command: | |
- "--config.file=/etc/prometheus/prometheus_ver1.yml" | |
networks: | |
prom.local: | |
ports: | |
- '9090:9090' | |
grafana: | |
image: grafana/grafana | |
volumes: | |
- ./grafana/provisioning:/etc/grafana/provisioning/ | |
- ./data/grafana/grafana_storage:/var/lib/grafana | |
depends_on: | |
- prometheus | |
networks: | |
prom.local: | |
ports: | |
- '3000:3000' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment