86d473c779
SECRET_KEY ("Titkosítási kulcs") is a data-encrypting key — regenerating it on
restore would render stored data unreadable. data_key:true makes the controller
recover it from the guest's own app.yaml (live/PBS) and fail closed if it can't,
rather than ever regenerating. Pairs with controller v0.53.0.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
79 lines
2.4 KiB
YAML
79 lines
2.4 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "AdventureLog"
|
|
description: "Utazási napló és kalandtervező"
|
|
category: "travel"
|
|
subdomain: "travel"
|
|
slug: "adventurelog"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "100M"
|
|
mem_limit: "384M"
|
|
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: SUBDOMAIN
|
|
label: "Aldomain"
|
|
type: subdomain
|
|
default: "travel"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: SECRET_KEY
|
|
label: "Titkosítási kulcs"
|
|
type: secret
|
|
generate: "hex:32"
|
|
locked_after_deploy: true
|
|
# Data-encrypting key: the app secures stored data with it, so it must NOT be regenerated on
|
|
# restore (that would render restored data unreadable). The recovery unit stays secret-free; at
|
|
# restore the controller recovers this key from the guest's own app.yaml (live, or via the PBS
|
|
# whole-guest snapshot) and FAILS CLOSED (refuse + warn) if it cannot — never silently restores.
|
|
data_key: true
|
|
|
|
- env_var: DB_PASSWORD
|
|
label: "Adatbázis jelszó"
|
|
type: secret
|
|
generate: "password:24"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Utazási napló - utazások dokumentálása térképpel és fotókkal"
|
|
docs_url: "https://adventurelog.app/docs/"
|
|
|
|
use_cases:
|
|
- 'Utazások dokumentálása képekkel és jegyzetekkel'
|
|
- 'Térképes megjelenítés a meglátogatott helyekről'
|
|
- 'Úti tervek készítése és szervezése'
|
|
- 'Statisztikák - meglátogatott országok, városok'
|
|
- 'Kalandok megosztása családdal és barátokkal'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a travel.DOMAIN címet a böngészőben'
|
|
- 'Hozd létre a fiókodat'
|
|
- 'Add hozzá az első utazásodat'
|
|
- 'Jelöld meg a meglátogatott helyeket a térképen'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 8000
|
|
path: "/api/"
|
|
expect:
|
|
status: 200
|