39 lines
750 B
YAML
39 lines
750 B
YAML
---
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
prometheus:
|
|
container_name: prometheus
|
|
image: prom/prometheus
|
|
volumes:
|
|
- ./prometheus_etc:/etc/prometheus
|
|
- ./prometheus_data:/prometheus
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
environment:
|
|
# - PUID=1000
|
|
# - PGID=1000
|
|
- TZ=America/Toronto
|
|
ports:
|
|
- 9090:9090
|
|
restart: unless-stopped
|
|
|
|
grafana:
|
|
container_name: grafana
|
|
hostname: grafana
|
|
image: grafana/grafana-enterprise
|
|
user: '472'
|
|
volumes:
|
|
- ./grafana_etc:/etc/grafana
|
|
- ./grafana_data:/var/lib/grafana
|
|
environment:
|
|
# - PUID=1000
|
|
# - PGID=1000
|
|
- TZ=America/Toronto
|
|
ports:
|
|
- 3000:3000
|
|
restart: unless-stopped
|
|
|
|
# EOF
|