Files
app-catalog-felhom.eu/templates/sparkyfitness/.felhom.yml
T
admin 4351d08daf Add SparkyFitness (v0.17.2) — nutrition/workout tracker
frontend (nginx SPA :80, sole Traefik ingress) + server (Node :3010) +
dedicated postgres:15-alpine. Native email auth (no OIDC), subdomain 'sparky'.
Two DB roles (sparky superuser + sparkyapp limited, auto-created first boot),
PGDATA subdir, data_key on API_ENCRYPTION_KEY + BETTER_AUTH_SECRET.
Transcribed from the validated k3s manifest (homelab-manifests/workout-system).

New files:
  templates/sparkyfitness/docker-compose.yml
  templates/sparkyfitness/.felhom.yml

Image probes (build server, v0.17.2): server node-exec /api/health probe (node
present); frontend wget --spider probe (wget+curl both present).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 14:57:56 +02:00

88 lines
2.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# =============================================================================
# .felhom.yml - App metadata for felhom-controller
# =============================================================================
display_name: "SparkyFitness"
description: "Táplálkozás- és edzéskövető"
category: "home"
subdomain: "sparky"
slug: "sparkyfitness"
resources:
mem_request: "400M"
mem_limit: "1792M"
pi_compatible: false
needs_hdd: false
deploy_fields:
- env_var: DOMAIN
label: "Domain"
type: domain
description: "A szerver domain neve"
locked_after_deploy: true
- env_var: SUBDOMAIN
label: "Aldomain"
type: subdomain
default: "sparky"
required: true
locked_after_deploy: true
description: "Az alkalmazás aldomainje"
- env_var: DB_PASSWORD
label: "Adatbázis jelszó"
type: secret
generate: "password:24"
locked_after_deploy: true
- env_var: APP_DB_PASSWORD
label: "Alkalmazás adatbázis jelszó"
type: secret
generate: "password:24"
locked_after_deploy: true
- env_var: API_ENCRYPTION_KEY
label: "Adattitkosítási kulcs"
type: secret
generate: "hex:32"
locked_after_deploy: true
# Encrypts stored data (e.g. external-integration credentials). Must NEVER be
# regenerated after first boot — that would make existing encrypted data
# unrecoverable. At restore the controller RECOVERS (never regenerates) it.
data_key: true
- env_var: BETTER_AUTH_SECRET
label: "Munkamenet aláíró kulcs"
type: secret
generate: "hex:32"
locked_after_deploy: true
# Signs sessions and encrypts 2FA/TOTP secrets. Must NEVER change after first
# boot — changing it locks out any user who enabled two-factor auth.
data_key: true
app_info:
tagline: "Táplálkozási napló, kalóriaszámláló és edzéskövető önállóan üzemeltetve"
docs_url: "https://github.com/CodeWithCJ/SparkyFitness"
use_cases:
- 'Napi étkezések és kalóriabevitel naplózása'
- 'Testsúly és testméretek követése grafikonokkal'
- 'Edzések és mozgás rögzítése'
- 'Tápanyag-célok (fehérje, szénhidrát, zsír) beállítása és követése'
- 'Haladás áttekintése idővonalon és statisztikákon'
first_steps:
- 'Nyisd meg a sparky.DOMAIN címet a böngészőben'
- 'Regisztrálj egy fiókot e-mail címmel és jelszóval'
- 'Állítsd be a profilodat és a napi céljaidat'
- 'Kezdd el naplózni az étkezéseidet és edzéseidet'
prerequisites:
- 'Az első indításkor a szerver lefuttatja az adatbázis-migrációkat ez akár 1-2 percig is eltarthat, mire az alkalmazás elérhetővé válik'
# --- Controller-side health probe (same form as wger) ---
healthcheck:
checks:
- type: http
port: 80