enable public access for grafana, add health check

This commit is contained in:
2024-12-06 16:08:25 +01:00
parent 73149f900f
commit d1a7baf28c
2 changed files with 1178 additions and 1 deletions

View File

@@ -1,9 +1,16 @@
services: services:
grafana: grafana:
container_name: grafana container_name: grafana
image: grafana/grafana:9.0.2 image: grafana/grafana:11.4.0
healthcheck:
test: [ "CMD", "wget", "-qO-", "http://localhost:3000" ]
interval: 20s
start_period: 30s
timeout: 5s
retries: 10
ports: ports:
- 3333:3000 - 3333:3000
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /opt/grafana:/var/lib/grafana - /opt/grafana:/var/lib/grafana
- /opt/grafana/grafana.ini:/etc/grafana/grafana.ini

1170
grafana/grafana.ini Executable file

File diff suppressed because it is too large Load Diff