Last active
March 11, 2024 20:39
-
-
Save EvilFreelancer/0e66dc2659c6d3c282475c12b75081f3 to your computer and use it in GitHub Desktop.
Конфигурация docker-compose.yml для запуска Prometheus и Grafana (шаг 1)
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 | |
networks: | |
monitoring: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment