2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 05:07:13 +08:00
Files
templates/grafana/docker-compose.yml
2026-01-31 02:59:45 +08:00

21 lines
459 B
YAML

services:
grafana:
image: grafana/grafana:12.3.2
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