Last active
July 2, 2021 10:33
-
-
Save MnifR/38311ad4c29e21399efbbcc1b2210ce4 to your computer and use it in GitHub Desktop.
grafana+prometheus.yaml
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: '3.1' | |
volumes: | |
prometheus_data: {} | |
grafana_data: {} | |
services: | |
prometheus: | |
image: prom/prometheus | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml | |
- prometheus_data:/prometheus | |
ports: | |
- 9090:9090 | |
restart: always | |
grafana: | |
image: grafana/grafana | |
ports: | |
- 3000:3000 | |
volumes: | |
- grafana_data:/var/lib/grafana | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment