added apps!
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# =============================================================================
|
||||
# .felhom.yml - App metadata for felhom-controller
|
||||
# =============================================================================
|
||||
|
||||
# --- Display info (shown on dashboard) ---
|
||||
display_name: "Grafana"
|
||||
description: "Professzionális monitoring és vizualizációs platform"
|
||||
category: "dashboard"
|
||||
subdomain: "grafana"
|
||||
slug: "grafana"
|
||||
|
||||
# --- Resource hints (displayed on deploy screen) ---
|
||||
resources:
|
||||
mem_request: "100M"
|
||||
mem_limit: "512M"
|
||||
pi_compatible: true
|
||||
needs_hdd: false
|
||||
|
||||
# --- Deploy fields (first deployment only) ---
|
||||
deploy_fields:
|
||||
- env_var: DOMAIN
|
||||
label: "Domain"
|
||||
type: domain
|
||||
description: "A szerver domain neve"
|
||||
locked_after_deploy: true
|
||||
|
||||
- env_var: GF_SECURITY_ADMIN_PASSWORD
|
||||
label: "Admin jelszó"
|
||||
type: secret
|
||||
generate: "password:16"
|
||||
locked_after_deploy: false
|
||||
|
||||
# --- App info (info page content) ---
|
||||
app_info:
|
||||
tagline: "Vizualizációs platform - dashboardok, grafikonok, alertek"
|
||||
default_creds: "admin / (telepítéskor megadott jelszó)"
|
||||
docs_url: "https://grafana.com/docs/grafana/latest/"
|
||||
|
||||
use_cases:
|
||||
- 'Rendszer metrikák vizualizálása (CPU, RAM, hálózat, lemez)'
|
||||
- 'Egyedi dashboardok létrehozása különböző adatforrásokból'
|
||||
- 'Alertek és értesítések küszöbértékek alapján'
|
||||
- 'Prometheus, InfluxDB és sok más adatforrás támogatás'
|
||||
- 'Szép, megosztható dashboardok'
|
||||
|
||||
first_steps:
|
||||
- 'Nyisd meg a grafana.DOMAIN címet a böngészőben'
|
||||
- 'Jelentkezz be az admin fiókkal'
|
||||
- 'Add hozzá az adatforrásokat (Connections > Data Sources)'
|
||||
- 'Importálj egy dashboard sablont vagy hozz létre sajátot'
|
||||
|
||||
prerequisites:
|
||||
- 'Adatforrás szükséges (pl. Prometheus - külön telepítendő)'
|
||||
@@ -0,0 +1,46 @@
|
||||
# Grafana - Professzionális monitoring és vizualizációs platform
|
||||
# Domain: grafana.${DOMAIN}
|
||||
# Database: None (file-based)
|
||||
# RAM: ~100M (mem_limit: 512M) | Pi-compatible: Yes
|
||||
#
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# GF_SECURITY_ADMIN_PASSWORD- Admin jelszó (auto-generated)
|
||||
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana:11.5.1
|
||||
container_name: grafana
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Europe/Budapest
|
||||
- GF_SERVER_ROOT_URL=https://grafana.${DOMAIN}
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD:-admin}
|
||||
volumes:
|
||||
- grafana_data:/var/lib/grafana
|
||||
networks:
|
||||
- traefik-public
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/api/health"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.grafana.rule=Host(`grafana.${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
|
||||
Reference in New Issue
Block a user