add Prometheus container
This commit is contained in:
parent
45349285c9
commit
36a9786724
3 changed files with 16 additions and 0 deletions
2
prometheus/.env-example
Normal file
2
prometheus/.env-example
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Prometheus Version (Standard: latest)
|
||||||
|
PROMETHEUS_VERSION=latest
|
0
prometheus/README.md
Normal file
0
prometheus/README.md
Normal file
14
prometheus/docker-compose.yml
Normal file
14
prometheus/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
prometheus:
|
||||||
|
image: prom/prometheus:${PROMETHEUS_VERSION}
|
||||||
|
container_name: prometheus
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./data/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
|
networks:
|
||||||
|
- grafana
|
||||||
|
|
||||||
|
networks:
|
||||||
|
grafana:
|
||||||
|
driver: bridge
|
Loading…
Add table
Reference in a new issue