2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 06:17:13 +08:00
Files
templates/grafana/docker-compose.yml
2026-01-23 18:22:20 +08:00

21 lines
457 B
YAML

services:
grafana:
image: grafana/grafana:12.3.1
restart: unless-stopped
user: '0'
networks:
- acepanel-network
ports:
- "${GRAFANA_PORT_HTTP}:3000"
volumes:
- ./data:/var/lib/grafana
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:3000/api/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
acepanel-network:
external: true