Last active
March 11, 2024 20:39
-
-
Save EvilFreelancer/8afe39f329ef34baf6d9b08f395cb4cd to your computer and use it in GitHub Desktop.
Конфигурация docker-compose.yml для запуска Prometheus и Grafana (шаг 3)
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.9' | |
services: | |
prometheus: | |
image: prom/prometheus | |
restart: unless-stopped | |
volumes: | |
- ./prometheus.yml:/etc/prometheus/prometheus.yml | |
- ./prometheus_data:/prometheus | |
networks: | |
- monitoring | |
ports: | |
- 9090:9090 | |
grafana: | |
image: grafana/grafana | |
restart: unless-stopped | |
volumes: | |
- ./grafana_data:/var/lib/grafana | |
networks: | |
- monitoring | |
ports: | |
- 3000:3000 | |
networks: | |
monitoring: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment