34 lines
700 B
YAML
34 lines
700 B
YAML
services:
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
container_name: prometheus
|
|
volumes:
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
- prometheus-data:/prometheus
|
|
#ports:
|
|
# - "9090:9090"
|
|
networks:
|
|
- proxy-network
|
|
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
container_name: grafana
|
|
environment:
|
|
- GF_SECURITY_ADMIN_PASSWORD=VyK^3iKr$%p*#5Umy24gb6B@
|
|
ports:
|
|
- "127.0.0.1:3030:3000"
|
|
networks:
|
|
- proxy-network
|
|
volumes:
|
|
- grafana-storage:/var/lib/grafana
|
|
|
|
networks:
|
|
proxy-network:
|
|
external: true
|
|
|
|
volumes:
|
|
grafana-storage:
|
|
name: grafana-storage
|
|
external: true
|
|
prometheus-data:
|