Files
app-catalog-felhom.eu/templates/grafana/docker-compose.yml
T
admin bff82f9bdd
gates / gates (push) Successful in 6s
Six memory limits raised so measured peaks sit at ~70 % or less (R-994, limits only)
docmost 768M, romm 1024M, termix 256M, uptime-kuma 384M, grafana 768M, tandoor 1280M; totals updated. The 23
mem_request changes wait for the operator (they would refuse the household set's sixth app on an 8 GB box).
Immich waits for a larger-library measurement.

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-10-17 11:05:09 +02:00

48 lines
1.5 KiB
YAML

# Grafana - Professzionális monitoring és vizualizációs platform
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based)
# RAM: ~100M (mem_limit: 768M) | Pi-compatible: Yes
# 512M -> 768M (R-994, 2026-10-17: the 2026-10-13 sizing run measured a peak of 435 MB = 85 % of the old 512M; the new limit keeps it at or under ~70 %).
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# GF_SECURITY_ADMIN_PASSWORD- Admin jelszó (auto-generated)
services:
grafana:
image: grafana/grafana:13.2.3
container_name: grafana
restart: unless-stopped
environment:
- TZ=Europe/Budapest
- GF_SERVER_ROOT_URL=https://${SUBDOMAIN}.${DOMAIN}
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD:?the admin password is required (R-708)}
volumes:
- grafana_data:/var/lib/grafana
networks:
- traefik-public
deploy:
resources:
limits:
memory: 768M
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000/api/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.grafana.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.grafana.entrypoints=websecure"
- "traefik.http.routers.grafana.tls=true"
- "traefik.http.routers.grafana.tls.certresolver=letsencrypt"
- "traefik.http.services.grafana.loadbalancer.server.port=3000"
volumes:
grafana_data:
networks:
traefik-public:
external: true