Files
monitor-playground/docker-compose.yaml
David Chen f9c40f05c3 -
-
2026-02-12 00:54:45 +08:00

27 lines
661 B
YAML

services:
datasource:
build: ./datasource
network_mode: host
volumes:
- ./datasource/config.ini:/app/config.ini:ro
- ./v/datasource/data:/app/data
restart: unless-stopped
grafana:
image: grafana/grafana:12.3.2
user: 1000:1000
environment:
- GF_PLUGINS_PREINSTALL_SYNC=yesoreyeram-infinity-datasource@3.7.0
- GF_SECURITY_ADMIN_USER=pika
- GF_SECURITY_ADMIN_PASSWORD=boingboing
network_mode: host
volumes:
- ./v/grafana:/var/lib/grafana
restart: unless-stopped
# redis:
# image: redis:8.0.3-alpine3.21
# ports:
# - 127.0.0.1:6379:6379
# restart: unless-stopped