enable public access for grafana, add health check
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
services:
|
||||
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:
|
||||
- 3333:3000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /opt/grafana:/var/lib/grafana
|
||||
- /opt/grafana/grafana.ini:/etc/grafana/grafana.ini
|
||||
|
||||
1170
grafana/grafana.ini
Executable file
1170
grafana/grafana.ini
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user