2024-02-20 16:08:16 +00:00
|
|
|
# documentation: https://grafana.com
|
2023-10-25 18:13:45 +00:00
|
|
|
# slogan: Grafana is the open source analytics & monitoring solution for every database.
|
|
|
|
# tags: grafana,analytics,monitoring,dashboard
|
2024-02-20 14:07:12 +00:00
|
|
|
# logo: svgs/grafana.svg
|
2024-03-12 14:09:24 +00:00
|
|
|
# port: 3000
|
2023-10-25 18:13:45 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
grafana:
|
|
|
|
image: grafana/grafana-oss
|
|
|
|
environment:
|
2024-03-12 14:09:24 +00:00
|
|
|
- SERVICE_FQDN_GRAFANA_3000
|
2023-10-25 18:13:45 +00:00
|
|
|
- GF_SERVER_ROOT_URL=${SERVICE_FQDN_GRAFANA}
|
|
|
|
- GF_SERVER_DOMAIN=${SERVICE_FQDN_GRAFANA}
|
|
|
|
- GF_SECURITY_ADMIN_PASSWORD=${SERVICE_PASSWORD_GRAFANA}
|
|
|
|
volumes:
|
|
|
|
- grafana-data:/var/lib/grafana
|
|
|
|
healthcheck:
|
2024-05-17 08:11:55 +00:00
|
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/health"]
|
2023-10-25 18:13:45 +00:00
|
|
|
interval: 5s
|
2023-10-26 08:02:51 +00:00
|
|
|
timeout: 20s
|
2023-10-25 18:13:45 +00:00
|
|
|
retries: 10
|