New app: Securo 0.18.0 (family finances), with its complete onboarding record — on the operator's yes
gates / gates (push) Successful in 26s
gates / gates (push) Successful in 26s
templates/securo/: the page (nginx), the backend (migrates before uvicorn — no one-shot job), a Celery worker and beat, pgvector 0.8.7-pg16, redis 8.10.3-alpine; 1920M. Setup gate (has_users probe, measured false -> true), sign-up off from the first byte, optional modules off, TRUSTED_PROXY_HOPS=3 measured through the simulated tunnel. First ladder step 0.17.0 -> 0.18.0 by the writer (bench + 9202 proven; the undo on a real failure proven on 9202). Fixture, data-key reason, copy freeze, README, FIRST-ADMIN. Record: onboarding/securo.md. Evidence: felhom.eu documentation/audits/new-app-securo-2026-11-15/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
1 parent
f4c5c797d9
commit
b605815031
10 files changed
+718
-10
No files matched your search
@@ -1,3 +1,20 @@
|
||||
## 2026-11-15 — new app: Securo (family finances), through the whole new-app checklist
|
||||
|
||||
- **`templates/securo/`** — Securo 0.18.0 (securo-finance, AGPL-3.0): the nginx page (`securo`, traefik's), the FastAPI
|
||||
backend, a Celery worker and beat (one image), pgvector `0.8.7-pg16`, redis `8.10.3-alpine`; 1920M. Differences from
|
||||
upstream's compose, each on purpose and in the compose header: no one-shot `migrate` job (the backend runs `alembic
|
||||
upgrade head` before uvicorn, the worker and beat wait for its healthcheck); sign-up OFF from the first byte; the
|
||||
optional modules OFF (AI agents, plugins, Brazilian bonds, SimpleFIN); bank sync left to the household;
|
||||
`TRUSTED_PROXY_HOPS=3` (measured: each internet visitor its own sign-in limit, a forged entry cannot move it);
|
||||
`BANK_SYNC_MIN_INTERVAL_HOURS=6` (PSD2's four reads a day); the worker at `--concurrency=1`.
|
||||
- **The setup gate**, opened by `/api/setup/status` → `has_users` (the controller's probe read false -> true on 9202).
|
||||
- **First ladder step 0.17.0 → 0.18.0**, written by `upgrade-test.py --write-ladder` (bench + 9202 proven; the undo on a
|
||||
real failure proven on 9202 — the bench's abort showed 0.17.0 refuses the migrated schema, so the undo must restore data).
|
||||
- `scripts/upgrade_fixtures_box28.py`: the `Securo` fixture (first admin, an account and a transaction through its own
|
||||
API; a wrong password must be refused). `scripts/check-data-key.py`: REGISTRY reason for securo's SECRET_KEY (it
|
||||
encrypts the bank connections' credentials). Copy freeze: securo admitted. README tables, FIRST-ADMIN row.
|
||||
- Record: `onboarding/securo.md`; evidence: felhom.eu `documentation/audits/new-app-securo-2026-11-15/`.
|
||||
|
||||
## 2026-11-03 — four big steps on the operator's yes (bench + box 9202 proven 2026-11-02 night; undo too for Paperless and n8n)
|
||||
|
||||
Written by `upgrade-test.py --write-ladder` only: each template stood at the walk's FROM, and each digest the registry serves now is the one the bench tested.
|
||||
|
||||
@@ -87,6 +87,7 @@ asks the probe first where there is one. Open sign-up is closed by the box after
|
||||
| **recipe-importer** | 4 | our own image, open until set | **setup gate**, opened by the household's press („Kész, beállítottam", confirm first); no sign-up to close (single user / no accounts); our own app: open until a password is set in its settings — the confirm says so | **GATED** — catalog, 2026-09-29 (decisions 46–47) | **M 9202**: stranger → gate page / 401; household reached the first-setup screen; gate opened after the setup; the app answered after (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) |
|
||||
| **romm** | 4 | first unauthenticated `POST /api/users` creates the user (harness); the stale `admin / admin` note is **removed** (2026-09-29) | **setup gate**, opened by probe `/api/heartbeat` → `SYSTEM.SHOW_SETUP_WIZARD` = false; the app itself refuses a stranger's second first-admin / sign-up call | **GATED** — catalog, 2026-09-29 (decisions 46–47) | **M 9202**: stranger → gate page / 401; household reached the first-setup screen; gate opened after the setup; the app answered after (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) |
|
||||
| **sabnzbd** | 1 | **the app has NO login at all on a fresh install** and the image offers no variable for one, so the entrypoint seeds `sabnzbd.ini` with the generated login, a generated API key, `inet_exposure = 5` and `local_ranges = 127.0.0.1`. That last line is the one that matters: `inet_exposure` only asks an EXTERNAL visitor to log in, and SABnzbd's built-in LAN ranges include the 172.16/12 traefik arrives from, so without it the login applies to nobody | – (seeded at install; `after_install` reads the settings back out of the running app) | fine | **M 9401 + 9202** (2026-10-12): before the fix a request with NO credentials answered 200 and served the Quick-Start Wizard; after it a stranger gets `/login`, `/config/` and `/wizard/` redirect there, the household's session reaches `/config/` (200), a wrong password gets no session, and the API answers the generated key and refuses a wrong one `felhom.eu/documentation/audits/usenet-2026-10-12/` |
|
||||
| **securo** | 4 | open first-run page: `POST /api/setup/create-admin` makes a superuser for anyone while no user exists (api/setup.py) | **setup gate**, opened by probe `/api/setup/status` → `has_users`; public sign-up OFF from the first byte (`REGISTRATION_ENABLED=false`), family members made by the admin | **NEW 2026-11-15** — catalog, `onboarding/securo.md` | **M 9202** (drill catalog, 0.18.0): a stranger polling every second got 404 → the gate (302/401, its create-admin 401) → the app only after the household's setup; the controller's probe read has_users false → true and opened the gate; the app itself then refuses a second create-admin (403) and sign-up (403) (`felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/`) |
|
||||
| **seerr** | 4 | setup wizard (needs a media server) | **setup gate**, the household's press; needs a media server to finish its setup — not provable on 9202 (its `initialized` status measured false before) | **GATED** — catalog, 2026-09-29; the opening NOT proven | **M 9202**: stranger → gate page / 401, household reached the first-setup screen (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) |
|
||||
| **sonarr** | 4 | as radarr | **setup gate**, opened by the household's press („Kész, beállítottam", confirm first); no sign-up to close (single user / no accounts); as radarr | **GATED** — catalog, 2026-09-29 (decisions 46–47) | **M 9202**: stranger → gate page / 401; household reached the first-setup screen; gate opened after the setup; the app answered after (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) |
|
||||
| **sparkyfitness** | 4 | open registration | **setup gate**, opened by the household's press („Kész, beállítottam", confirm first); sign-up closed by the box after the setup: `/api/auth/sign-up` | **GATED** — catalog, 2026-09-29 (decisions 46–47) | **M 9202**: stranger → gate page / 401; household reached the first-setup screen; gate opened after the setup; the app answered after (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) |
|
||||
|
||||
@@ -54,6 +54,7 @@ app-catalog-felhom.eu/ <- This repo (source of truth)
|
||||
│ ├── rallly/
|
||||
│ ├── romm/
|
||||
│ ├── sabnzbd/
|
||||
│ ├── securo/
|
||||
│ ├── seerr/
|
||||
│ ├── sonarr/
|
||||
│ ├── sparkyfitness/
|
||||
@@ -421,6 +422,7 @@ block + the matching compose `${VAR}` lines.
|
||||
| Rallly | PostgreSQL | 50M / 256M | yes | -- | poll.* |
|
||||
| RomM | MariaDB + Redis | 600M / 1536M | no | `${HDD_PATH}/storage/romm/` | arcade.* |
|
||||
| SABnzbd | None (file) | 96M / 1024M | yes | `${USERDATA_PATH}/media/usenet/` | usenet.* |
|
||||
| Securo | PostgreSQL 16 (pgvector) + Redis | 600M / 1920M | yes | -- | finance.* |
|
||||
| Jellyseerr | None (file) | 200M / 384M | yes | -- | requests.* |
|
||||
| Sonarr | None (file) | 150M / 512M | yes | `${HDD_PATH}/media/` | sonarr.* |
|
||||
| SparkyFitness | PostgreSQL | 400M / 1792M | no | -- | sparky.* |
|
||||
@@ -488,6 +490,7 @@ block + the matching compose `${VAR}` lines.
|
||||
| Rallly | yes | -- | SECRET_PASSWORD, DB_PASSWORD |
|
||||
| RomM | yes | yes | DB_PASSWORD, MYSQL_ROOT_PASSWORD, ROMM_AUTH_SECRET_KEY |
|
||||
| SABnzbd | yes | yes | SAB_ADMIN_PASSWORD (password), SAB_API_KEY (secret) |
|
||||
| Securo | yes | -- | SECRET_KEY (data_key), DB_PASSWORD, MCP_JWT_SECRET |
|
||||
| Jellyseerr | yes | -- | -- |
|
||||
| Sonarr | yes | yes | -- |
|
||||
| SparkyFitness | yes | -- | DB_PASSWORD, APP_DB_PASSWORD, API_ENCRYPTION_KEY, BETTER_AUTH_SECRET |
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
# REPORT — 2026-11-03: four big steps written and pushed on the operator's yes
|
||||
# REPORT — 2026-11-15: Securo, a new app, through the whole new-app checklist
|
||||
|
||||
**Plain words.** Paperless 3, n8n 3, Mealie v3.30.0 and Termix 26.11.0 are now offered as normal updates. A household presses Update when it wants; nothing moves by itself unless the box's night leg takes it. SparkyFitness stays out (licence).
|
||||
**Plain words.** Securo keeps a family's accounts, transactions, budgets, loans and goals on the box, in Hungarian. The
|
||||
household makes its own admin account on Securo's first page (the box keeps strangers out until then), loads the file
|
||||
it downloads from its online bank, and adds family members. Bank sync stays optional and is not set up by the box.
|
||||
|
||||
| App | Step | Why | Proven |
|
||||
|---|---|---|---|
|
||||
| paperless-ngx | 2.20.15 → 3.4.1 | R-1331 | bench, 9202, undo |
|
||||
| n8n | 2.46.4 → 3.0.1 | R-1356 | bench, 9202, undo |
|
||||
| mealie | v3.29.0 → v3.30.0 | R-1359 | bench, 9202 |
|
||||
| termix | 26.10.5 → 26.11.0 | R-1359 | bench, 9202 |
|
||||
| Check | Result |
|
||||
|---|---|
|
||||
| Bench (swap 0): negative control, 0.17.0 → 0.18.0, 10-min watch | proven; highest memory 45 % of a limit, 0 kills |
|
||||
| 9202: the same step through the guarded Update | proven (192 s), soak clean |
|
||||
| 9202: the undo on a real failure | proven (0.18.0 migrated and failed; 0.17.0 back with the data) |
|
||||
| 9202: setup gate against a stranger polling every second | held; 0 rounds reached the open setup |
|
||||
| 9202: sign-in, sign-up off, family members, lock-out per visitor, receipt upload, backup → remove → restore | all as the record says |
|
||||
| Gates | `catalog_gates.py --fast securo` and image-resolvable exit 0; volume-persistence UNDETERMINED, measured by hand (record 2.1) |
|
||||
|
||||
The writer checked each FROM and each digest against the registry today. Gates green. Evidence: felhom.eu `documentation/audits/security-2026-11-02/`.
|
||||
Record: `onboarding/securo.md` (every row done or n/a). Evidence: felhom.eu `documentation/audits/new-app-securo-2026-11-15/`.
|
||||
Register: felhom.eu R-1399 (the website has no Securo or wger card; the count says 63).
|
||||
@@ -0,0 +1,75 @@
|
||||
# Onboarding record — securo
|
||||
|
||||
app: securo
|
||||
opened: 2026-11-15
|
||||
template_at: the commit that publishes this record (securo-finance securo-frontend + securo-backend 0.18.0, pgvector/pgvector:0.8.7-pg16, redis:8.10.3-alpine)
|
||||
|
||||
<!--
|
||||
Evidence root: felhom.eu/documentation/audits/new-app-securo-2026-11-15/ — A/ (source reads at v0.18.0), S/ (image reads,
|
||||
guide label check, screenshots), bench/ (bench 9401, swap 0), box/ (scratch guest 9202, drill catalog), tools/. The
|
||||
operator's own instance on DooPlex (k3s, finance-system) was only READ, for the first memory figure (S1 fit message).
|
||||
-->
|
||||
|
||||
0.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — AGPL-3.0; upstream's own images, pulled
|
||||
0.2 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — v0.18.0 on 2026-11-06, a release every 1–2 weeks, issues closed daily; before 1.0 with 113 migrations on main (expect frequent update steps)
|
||||
0.3 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/S/S1-image-reads.txt — plain `X.Y.Z` tags (no `v`), amd64 + arm64 for both app images; pgvector and redis pinned
|
||||
0.4 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — no telemetry library; every outbound host is behind a feature the template leaves off (bank sync, FX, Brazilian bonds, plugins, AI); market prices (Yahoo) only for assets the household marks so; Google's favicon service only for SimpleFIN/market logos, loaded by the browser
|
||||
0.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/install.txt — the first start needs only the images (healthy 155 s after the press, pulls included); the AI module's model download is off
|
||||
0.6 | n/a | Securo serves HTTP on port 8080 only; the backend, PostgreSQL and Redis stay internal
|
||||
0.7 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — no native app; the PWA signs in through the same `POST /api/auth/login` form route the browser uses (3.9, through traefik over https, 200 with a token; wrong 400)
|
||||
0.8 | done | app-catalog-felhom.eu/templates/securo/.felhom.yml — tagline + use_cases: the family's accounts, budgets and goals on its own server
|
||||
0.9 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/evidence/MV-securo/verdict.json — FRONTEND_URL is handed to the browser and the bank (CORS, OAuth redirects), never fetched by the server; the bench runs it
|
||||
1.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/G/gates-securo.txt — image-pins and image-resolvable exit 0
|
||||
1.2 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — upstream's compose runs `pgvector/pgvector:pg16` (the agents' migration needs the extension) and `redis:8-alpine`; the template pins `0.8.7-pg16` and `8.10.3-alpine`
|
||||
1.3 | done | app-catalog-felhom.eu/templates/securo/docker-compose.yml — PostgreSQL 16: `/var/lib/postgresql/data` is right below 18; no MariaDB
|
||||
1.4 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/evidence/MV-securo/verdict.json ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/step/box-verdict-securo.json — the image runs NO migration; the template's backend command runs `alembic upgrade head` before uvicorn (upstream uses a one-shot job); 0.17.0 seeded, stepped INTO 0.18.0 (migrations 102 -> 105 seen), read back on both venues
|
||||
1.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — uvicorn (no reload), celery worker and celery beat; nginx for the page
|
||||
1.6 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — SECRET_KEY, the database password and AGENTS_MCP_JWT_SECRET generated (upstream's defaults are `change-me-in-production` / `postgres`); every other secret empty, which turns its feature off
|
||||
1.7 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/S/S1-image-reads.txt ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — backend: no entrypoint script (migrations by the template's command); frontend: the nginx entrypoint renders BACKEND_URL and the resolver only
|
||||
1.8 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — `DEBUG=false`; an unknown API path is a plain JSON 404, no trace
|
||||
1.9 | done | app-catalog-felhom.eu/templates/securo/.felhom.yml — SECRET_KEY is `data_key: true`: a Fernet key derived from it encrypts the bank connections' stored credentials (`agents/services/crypto.py`); `check-data-key.py` REGISTRY carries the reason
|
||||
1.10 | done | app-catalog-felhom.eu/templates/securo/.felhom.yml — `upstream:` names github:securo-finance/securo for both app images, redis's repo, and a stated gap for the pgvector image; gate `upstream` exit 0
|
||||
2.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/volume-persistence.txt ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/persistence-upload.txt — the gate is UNDETERMINED (its GET exercise writes no attachment); measured by hand: an uploaded receipt lands in the attachments volume, and every container-layer write is derived (Python bytecode caches, nginx's rendered config, `/tmp`, the Postgres socket); the database is its volume; Redis keeps nothing on purpose (`--save ""`, broker and rate limits only)
|
||||
2.2 | done | app-catalog-felhom.eu/templates/securo/docker-compose.yml — named volumes (NVMe): the database and the attachments
|
||||
2.3 | n/a | needs_hdd false: no drive path to classify; the tier-1 unit holds the database dump and the attachments volume
|
||||
2.4 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/install.txt — the backend migrated and the household's admin, account and transaction were stored on first start
|
||||
2.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/restore.txt — the guarded Update's per-app backup, remove keeping backups, the household's restore button: the seeded account and transaction read back AND the household's own password signs in; the gate stays open (has_users true)
|
||||
2.6 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/restore.txt — both remove choices delete both volumes; no drive data exists; the stack folder keeps only the catalog's compose
|
||||
2.7 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — 13 MB database on install; the operator's own instance holds 17 433 transactions in 30 MB; receipts up to 10 MB each
|
||||
2.8 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks2.txt — a receipt uploaded through traefik (201), read back byte-identical through the same front door (200); without a token 401
|
||||
3.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/install.txt — class 4 (open first-run page), measured; the household made the first admin through the gate
|
||||
3.2 | n/a | no known default login: the first admin is made on the setup page by the household
|
||||
3.3 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/install.txt ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/controller-setup-gate-log.txt — before: a stranger gets the gate (302 / 401), its create-admin 401; the controller's probe read has_users "false" -> "true" and opened the gate; after: a stranger's create-admin 403 „Setup already completed”
|
||||
3.4 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — sign-up off from the first byte: `POST /api/auth/register` 403 „Registration is currently disabled”; no signup_block: the switch is the admin's own (Admin settings), a stranger cannot reach it
|
||||
3.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/stranger-poll.txt — 260 polls once a second from the press: 404 until routed, 401 (the gate), then 200 only after the household's setup; 0 rounds with has_users false, 0 create-admin accepted
|
||||
3.6 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks2.txt — 5 sign-in tries a minute per address (sliding window): a stranger's 6th try is 429 for 60 s; another internet visitor and the LAN household sign in meanwhile; a forged left entry does not move the key; the stranger is let in again after 61 s. The LAN shares ONE key („unknown”): five tries a minute for the whole home
|
||||
3.7 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — the admin creates a family member (201); the member signs in, changes the own password (old 400, new 200), and cannot create users (403)
|
||||
3.8 | n/a | no after_install command: the household makes the first admin itself
|
||||
3.9 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — the browser's form sign-in through traefik with an https Origin and Referer: right 200 with a token, wrong 400; the token reads the account, no token 401
|
||||
3.10 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — the address is only the rate limit's key, read from the RIGHT by a count; `TRUSTED_PROXY_HOPS=3` measured through the simulated tunnel: visitor A and B get their own keys, a forged leftmost entry keeps A's key, the LAN keys on „unknown”
|
||||
4.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/S/S1-image-reads.txt — backend: python only (no wget/curl) → upstream's urllib probe; frontend: BusyBox wget; worker/beat: celery as PID 1; pg_isready and redis-cli for the sidecars; 127.0.0.1
|
||||
4.2 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/G/gates-securo.txt — probe-matches-compose exit 0
|
||||
4.3 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/install.txt — all six healthy 155 s after the press (pulls included), 0 restarts; the backend's start_period 120 s
|
||||
4.4 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks2.txt — the backend stopped: the controller read `degraded` within 10 s, the front door 502; running again ~15 s after start; the seed read back
|
||||
4.5 | done | app-catalog-felhom.eu/templates/securo/docker-compose.yml — `container_name: securo` (the page, traefik's); sidecars securo-backend, securo-worker, securo-beat, securo-db, securo-redis
|
||||
5.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/mem-securo.csv ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/mem-securo-box.csv — from birth, bench swap 0: backend 161 MiB anon (42 %), worker 151 (30 %), beat 116 (45 %), db 14 (+ cache), redis 6, page 5; 0 kills; the box (0.18.0 birth): backend 209 (55 %), 0 swap used, 0 kills
|
||||
5.2 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/evidence/MV-securo/verdict.json ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/step/box-verdict-securo.json — 10-min watch under 12 123 requests: highest anon 45 % (beat), 0 kills, 0 restarts; the box's soak clean
|
||||
5.3 | done | app-catalog-felhom.eu/templates/securo/.felhom.yml — mem_limit 1920M = 128 + 384 + 512 + 256 + 512 + 128; mem-limit-sum gate exit 0
|
||||
5.4 | n/a | Securo is Python (uvicorn + celery) and nginx; no self-sizing heap
|
||||
5.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — pi_compatible true (every image amd64 + arm64); ~1.45 GB of images
|
||||
6.1 | done | app-catalog-felhom.eu/scripts/upgrade_fixtures_box28.py — `Securo`: the first admin, an account and a transaction through the app's own API; read-back finds both, a wrong password must be refused
|
||||
6.2 | done | app-catalog-felhom.eu/templates/securo/.felhom.yml — the first ladder step 0.17.0 -> 0.18.0 (frontend + backend x3), written by `upgrade-test.py --write-ladder`
|
||||
6.3 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/undo/undo-proof-securo.json — the bench's abort put 0.17.0 back on the migrated schema and it REFUSED to start; on 9202 a 0.18.0 whose checks fail migrated the data, the box's undo ran (`undone` at 526 s) and 0.17.0 runs again with the seed read back
|
||||
6.4 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/evidence/MV-securo/verdict.json — no mark (files_may_change false)
|
||||
6.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/A/fit.md — plain `X.Y.Z` from 0.1 to 0.18.0 on ghcr; publishes `latest` beside each version; no re-push seen
|
||||
7.1 | n/a | Securo sends no mail at v0.18.0 (no mail code); a forgotten password is reset by the admin
|
||||
8.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/G/gates-securo.txt — copy-i18n exit 0 (frozen with the new app)
|
||||
8.2 | done | app-catalog-felhom.eu/templates/securo/.felhom.yml — tagline, use_cases, first_steps (incl. the language choice: Securo starts in English until each browser picks „Magyar”), add_people; followed on 9202 and the bench
|
||||
8.3 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/S/shots/ — logo + three screenshots pushed to felhom.eu `website/assets/` (commit 44715fb); they reach the public site with the next Cloudflare publish
|
||||
8.4 | done | app-catalog-felhom.eu/README.md — both tables; FIRST-ADMIN row; category finance; catalog_since
|
||||
8.5 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/G/site-count.txt — drift recorded: the website says 63 apps and its apps page has 64 cards; the catalog holds 66 with Securo (wger and Securo have no card)
|
||||
8.6 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/S/guide-labelcheck.txt — 42 labels, all found in Securo's own locale files at v0.18.0 (and the controller's for „Adatok és mentés”); checked_version 0.18.0
|
||||
9.1 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/G/gates-securo.txt — every gate exit 0; volume-persistence UNDETERMINED with the reason in 2.1
|
||||
9.2 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/install.txt ; felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/checks.txt — a fresh install from the drill catalog, as household and stranger
|
||||
9.3 | done | felhom.eu/documentation/audits/new-app-securo-2026-11-15/README.md — every row done or n/a; the open questions are rows
|
||||
9.4 | done | app-catalog-felhom.eu/onboarding/securo.md — published in one commit with this record (the onboarding gate)
|
||||
@@ -44,6 +44,7 @@ REGISTRY = {
|
||||
("bookstack", "APP_KEY"): "Laravel encrypt() on every member's two-factor secret (app/Access/Mfa/MfaValue.php)",
|
||||
("dawarich", "SECRET_KEY_BASE"): "the template's own comment: stored data unreadable if it changes",
|
||||
("papra", "AUTH_SECRET"): "the template's own comment: stored tokens invalid if it changes; keep the old key",
|
||||
("securo", "SECRET_KEY"): "Fernet key derived from it encrypts the bank connections' credentials (crypto.py)",
|
||||
("sparkyfitness", "BETTER_AUTH_SECRET"): "signs sessions AND encrypts 2FA/TOTP secrets (template comment)",
|
||||
}
|
||||
|
||||
|
||||
@@ -2835,6 +2835,59 @@
|
||||
"deploy_fields[SUBDOMAIN].label": "Aldomain",
|
||||
"description": "Usenet letöltő teljes felülettel"
|
||||
},
|
||||
"securo": {
|
||||
"app_info.add_people": "A családtagod fiókját te hozod létre: fiókmenü, Admin, Felhasználók.",
|
||||
"app_info.first_steps[0]": "Nyisd meg a finance.DOMAIN címet, és a Language listában válaszd a Magyar nyelvet",
|
||||
"app_info.first_steps[1]": "Hozd létre a saját fiókodat: ez lesz az admin. Pénznemnek válaszd a forintot (HUF)",
|
||||
"app_info.first_steps[2]": "A netbankodban töltsd le a számlád tételeit, és töltsd be a Securóba",
|
||||
"app_info.first_steps[3]": "Minden családtag a saját böngészőjében egyszer kiválasztja a Magyar nyelvet: bal lent a munkaterület menüje, Nyelv",
|
||||
"app_info.guide.faq[0].a": "A Securo nem küld e-mailt. Az adminisztrátor az „Adminisztráció” oldalon, a felhasználó szerkesztésénél a „Jelszó visszaállítása” mezőben ad neked új jelszót.",
|
||||
"app_info.guide.faq[0].q": "Elfelejtettem a jelszavamat. Mit tegyek?",
|
||||
"app_info.guide.faq[1].a": "A Securo külső banki szolgáltatásokon keresztül tud kapcsolódni, ehhez saját fiók kell náluk; a doboz ezt nem állítja be. A legegyszerűbb a netbankból letöltött fájl betöltése.",
|
||||
"app_info.guide.faq[1].q": "Össze tudom kötni a bankommal?",
|
||||
"app_info.guide.faq[2].a": "A regisztráció ki van kapcsolva: új fiókot csak az adminisztrátor hoz létre. Az „Adminisztráció” oldalon a „Felhasználói regisztráció engedélyezése” kapcsolóval nyithatod meg, de erre a családnak nincs szüksége.",
|
||||
"app_info.guide.faq[2].q": "Be tudja zárni bárki a regisztrációt?",
|
||||
"app_info.guide.faq[3].a": "Az adataid a dobozon vannak. A mentés állapotát a vezérlőpulton, az alkalmazás „Adatok és mentés” fülén látod.",
|
||||
"app_info.guide.faq[3].q": "Mentődnek a pénzügyi adataim?",
|
||||
"app_info.guide.sections[0].intro": "Minden számládnak, kártyádnak és a készpénzednek saját számlája van a Securóban.",
|
||||
"app_info.guide.sections[0].steps[0]": "A bal oldali menüben kattints a „Számlák” pontra.",
|
||||
"app_info.guide.sections[0].steps[1]": "Kattints a „Számla hozzáadása” gombra.",
|
||||
"app_info.guide.sections[0].steps[2]": "Add meg a nevét, típusnak válaszd például a „Folyószámla” lehetőséget, a „Pénznem” legyen HUF.",
|
||||
"app_info.guide.sections[0].steps[3]": "Írd be a mai „Egyenleg” értékét, és mentsd el.",
|
||||
"app_info.guide.sections[0].title": "Bankszámla felvétele",
|
||||
"app_info.guide.sections[1].intro": "Nem kell minden tételt kézzel beírnod: a netbankból letöltött fájlt a Securo be tudja olvasni.",
|
||||
"app_info.guide.sections[1].steps[0]": "A netbankodban töltsd le a számla tételeit CSV, OFX, QIF vagy CAMT fájlként.",
|
||||
"app_info.guide.sections[1].steps[1]": "A bal oldali menüben kattints az „Importálás” pontra.",
|
||||
"app_info.guide.sections[1].steps[2]": "Húzd a fájlt a „Húzz ide egy fájlt, vagy kattints a kiválasztáshoz” mezőre.",
|
||||
"app_info.guide.sections[1].steps[3]": "Az „Importálás ide:” mezőben válaszd ki a számlát, és nézd át az „Előnézet” listát.",
|
||||
"app_info.guide.sections[1].steps[4]": "Hagyd bekapcsolva a „Duplikált tranzakciók kihagyása” kapcsolót, és kattints az importálás gombra.",
|
||||
"app_info.guide.sections[1].title": "Netbankos kivonat betöltése",
|
||||
"app_info.guide.sections[2].intro": "A költségkeret megmutatja, mennyit költhetsz egy kategóriára egy hónapban.",
|
||||
"app_info.guide.sections[2].steps[0]": "A bal oldali menüben kattints a „Költségkeretek” pontra.",
|
||||
"app_info.guide.sections[2].steps[1]": "Kattints a „Költségkeret hozzáadása” gombra.",
|
||||
"app_info.guide.sections[2].steps[2]": "Válaszd ki a kategóriát, írd be a „Limit” összegét, és mentsd el.",
|
||||
"app_info.guide.sections[2].steps[3]": "A Securo a hónap során mutatja, mennyi fogyott el a keretből.",
|
||||
"app_info.guide.sections[2].title": "Havi költségkeret",
|
||||
"app_info.guide.sections[3].intro": "Mindenki saját fiókkal lép be. A fiókot az adminisztrátor hozza létre.",
|
||||
"app_info.guide.sections[3].steps[0]": "Kattints jobb fent a fiókod körére, és válaszd az „Adminisztráció” pontot.",
|
||||
"app_info.guide.sections[3].steps[1]": "A „Felhasználók kezelése” részben kattints a „Felhasználó hozzáadása” gombra.",
|
||||
"app_info.guide.sections[3].steps[2]": "Add meg az „E-mail” címét és egy jelszót, majd mentsd el.",
|
||||
"app_info.guide.sections[3].steps[3]": "A családtag a saját jelszavát a fiókmenü „Jelszó módosítása” pontjában cseréli le.",
|
||||
"app_info.guide.sections[3].title": "Családtag hozzáadása",
|
||||
"app_info.tagline": "Családi pénzügyek a saját szervereden - számlák, költségvetés és célok egy helyen",
|
||||
"app_info.use_cases[0]": "Bankszámlák, kártyák és készpénz egy helyen, futó egyenleggel",
|
||||
"app_info.use_cases[1]": "A netbankból letöltött CSV, OFX, QIF vagy CAMT fájl betöltése",
|
||||
"app_info.use_cases[2]": "Havi költségvetés, ismétlődő tételek és hitelek követése",
|
||||
"app_info.use_cases[3]": "Megtakarítási célok és vagyontárgyak értékének követése",
|
||||
"deploy_fields[DB_PASSWORD].label": "Adatbázis jelszó",
|
||||
"deploy_fields[DOMAIN].description": "A szerver domain neve",
|
||||
"deploy_fields[DOMAIN].label": "Domain",
|
||||
"deploy_fields[MCP_JWT_SECRET].label": "AI-modul kulcs",
|
||||
"deploy_fields[SECRET_KEY].label": "Titkosítási kulcs",
|
||||
"deploy_fields[SUBDOMAIN].description": "Az alkalmazás aldomainje",
|
||||
"deploy_fields[SUBDOMAIN].label": "Aldomain",
|
||||
"description": "Családi pénzügyek egy helyen - számlák, költségvetés, hitelek, megtakarítás"
|
||||
},
|
||||
"seerr": {
|
||||
"app_info.first_steps[0]": "Nyisd meg a requests.DOMAIN címet a böngészőben",
|
||||
"app_info.first_steps[1]": "Kövesd a beállítás varázslót",
|
||||
@@ -3576,6 +3629,7 @@
|
||||
"recipe-importer": "first_steps: a label corrected to what the app shows at its pinned tag (found by the app-guides night, 2026-10-15; verified in upstream source)",
|
||||
"romm": "R-1089 2026-10-16: first steps follow the fixed folder mapping (scan path from RomM 5.3.1's menu; stale password step dropped; BIOS folder named)",
|
||||
"sabnzbd": "first_steps: a label corrected to what the app shows at its pinned tag (found by the app-guides night, 2026-10-15; verified in upstream source)",
|
||||
"securo": "new app onboarded 2026-11-15 (onboarding/securo.md); copy written with te, no kérjük; guide labels checked at v0.18.0",
|
||||
"seerr": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
|
||||
"sonarr": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag; first_steps: the download-client, Transmission and root-folder steps dropped - the box wires them (controller 0.313.0, 15-media-library.md section 6)",
|
||||
"sparkyfitness": "user guide added (app guides 2026-10-15): every label checked against the app at its pinned tag",
|
||||
|
||||
@@ -186,9 +186,86 @@ class Homebox:
|
||||
return found
|
||||
|
||||
|
||||
class Securo:
|
||||
"""Securo (onboarded 2026-11-15). The household's own first step: the open setup call makes the first admin
|
||||
(api/setup.py), then the app's own form sign-in, an account and a transaction through the API the web page
|
||||
calls. The read-back signs in again and finds BOTH rows; a wrong password must be refused."""
|
||||
sub = "finance"; route = "its own /api/setup/create-admin, /api/auth/login, /api/accounts, /api/transactions"
|
||||
|
||||
def _login(self, w, sub, u, pw):
|
||||
from urllib.parse import urlencode
|
||||
rc, code, out = w.app_curl(sub, "/api/auth/login", "-H", "Content-Type: application/x-www-form-urlencoded",
|
||||
data=urlencode({"username": u, "password": pw}), method="POST")
|
||||
try:
|
||||
return json.loads(out)["access_token"], code
|
||||
except Exception:
|
||||
return None, code
|
||||
|
||||
def seed(self, w, sub, say):
|
||||
if not w.wait_app(sub, "/api/health", want=("200",)):
|
||||
return None
|
||||
# email-validator refuses special-use domains (`.invalid`, `.test`): measured 422 on 9202, 2026-11-15
|
||||
u = "drill" + secrets.token_hex(4) + "@drill.felhom.eu"
|
||||
pw = "Drill-" + secrets.token_hex(8) + "!aA"
|
||||
rc, code, out = w.app_curl(sub, "/api/setup/create-admin", "-H", "Content-Type: application/json",
|
||||
data=json.dumps({"email": u, "password": pw, "currency": "HUF",
|
||||
"name": "drill", "language": "hu"}), method="POST")
|
||||
if code not in ("200", "201"):
|
||||
self.tried = f"POST /api/setup/create-admin -> {code} {out[:150]}"
|
||||
say(f" securo: create-admin -> {code} {out[:150]}")
|
||||
return None
|
||||
tok, code = self._login(w, sub, u, pw)
|
||||
if not tok:
|
||||
self.tried = f"POST /api/auth/login (form) -> {code}"
|
||||
say(f" securo: login -> {code}")
|
||||
return None
|
||||
auth = ["-H", f"Authorization: Bearer {tok}", "-H", "Content-Type: application/json"]
|
||||
acct = "drillacct" + secrets.token_hex(4)
|
||||
rc, code, out = w.app_curl(sub, "/api/accounts", *auth, method="POST",
|
||||
data=json.dumps({"name": acct, "type": "checking", "currency": "HUF",
|
||||
"balance": "1000.00"}))
|
||||
try:
|
||||
acct_id = json.loads(out)["id"]
|
||||
except Exception:
|
||||
self.tried = f"POST /api/accounts -> {code} {out[:150]}"
|
||||
say(f" securo: create account -> {code} {out[:150]}")
|
||||
return None
|
||||
desc = "drilltx" + secrets.token_hex(4)
|
||||
rc, code, out = w.app_curl(sub, "/api/transactions", *auth, method="POST",
|
||||
data=json.dumps({"account_id": acct_id, "description": desc, "amount": "123.45",
|
||||
"date": "2026-11-15", "type": "debit"}))
|
||||
if code not in ("200", "201"):
|
||||
self.tried = f"POST /api/transactions -> {code} {out[:150]}"
|
||||
say(f" securo: create transaction -> {code} {out[:150]}")
|
||||
return None
|
||||
say(f" securo: seeded account {acct} and transaction {desc}")
|
||||
return {"u": u, "pw": pw, "acct": acct, "desc": desc}
|
||||
|
||||
def verify(self, w, sub, t, say):
|
||||
bad, bcode = self._login(w, sub, t["u"], t["pw"] + "x")
|
||||
if bad:
|
||||
say(f" securo: a WRONG password signed in ({bcode}) — readback unusable")
|
||||
return None
|
||||
tok, code = self._login(w, sub, t["u"], t["pw"])
|
||||
if not tok:
|
||||
say(f" securo: the seeded user cannot sign in ({code})")
|
||||
return False
|
||||
auth = ["-H", f"Authorization: Bearer {tok}"]
|
||||
rc, c1, accts = w.app_curl(sub, "/api/accounts", *auth)
|
||||
rc, c2, txs = w.app_curl(sub, "/api/transactions?q=" + t["desc"], *auth)
|
||||
absent = ("nope" + secrets.token_hex(6)) not in (accts or "") + (txs or "")
|
||||
if not absent:
|
||||
say(" securo: READBACK UNUSABLE")
|
||||
return None
|
||||
found = t["acct"] in (accts or "") and t["desc"] in (txs or "")
|
||||
say(f" securo: readback found={found} (accounts {c1}, transactions {c2}; wrong password refused {bcode}, "
|
||||
"control passed)")
|
||||
return found
|
||||
|
||||
|
||||
FIXTURES28 = {
|
||||
"radarr": Radarr(), "sonarr": Sonarr(), "kimai": Kimai(),
|
||||
"gramps-web": GrampsWeb(), "homebox": Homebox(),
|
||||
"gramps-web": GrampsWeb(), "homebox": Homebox(), "securo": Securo(),
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,223 @@
|
||||
# =============================================================================
|
||||
# .felhom.yml - App metadata for felhom-controller
|
||||
# =============================================================================
|
||||
# Securo — securo-finance/securo (AGPL-3.0). Onboarding record: onboarding/securo.md (NEW-APP-CHECKLIST.md).
|
||||
# First admin: CLASS — an open first-run page. Until a user exists, `POST /api/setup/create-admin` makes the first
|
||||
# admin for anyone who asks (api/setup.py at v0.18.0). The box holds the app behind the setup gate until the probe
|
||||
# below flips; public sign-up stays off (REGISTRATION_ENABLED=false in the compose).
|
||||
|
||||
# --- Display info (shown on dashboard) ---
|
||||
display_name: "Securo"
|
||||
description: "Családi pénzügyek egy helyen - számlák, költségvetés, hitelek, megtakarítás"
|
||||
category: "finance"
|
||||
subdomain: "finance"
|
||||
slug: "securo"
|
||||
# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that
|
||||
# changes an image: line must set this to the same day (see CLAUDE.md).
|
||||
catalog_since: "2026-11-15"
|
||||
|
||||
# --- Resource hints (displayed on deploy screen) ---
|
||||
resources:
|
||||
mem_request: "600M"
|
||||
mem_limit: "1920M" # securo 128M + securo-backend 384M + securo-worker 512M + securo-beat 256M + securo-db 512M + securo-redis 128M = 1920M
|
||||
pi_compatible: true
|
||||
needs_hdd: false
|
||||
|
||||
# --- Deploy wizard fields ---
|
||||
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: "finance"
|
||||
required: true
|
||||
locked_after_deploy: true
|
||||
description: "Az alkalmazás aldomainje"
|
||||
|
||||
- env_var: SECRET_KEY
|
||||
label: "Titkosítási kulcs"
|
||||
type: secret
|
||||
generate: "hex:64"
|
||||
locked_after_deploy: true
|
||||
# Data-encrypting key: Securo derives a Fernet key from it (app/agents/services/crypto.py, PBKDF2) and encrypts
|
||||
# the bank connections' stored credentials with it (providers/enable_banking.py, providers/simplefin.py — read at
|
||||
# v0.18.0). Regenerated, every bank link must be made again, so a restore must recover it and refuses rather than
|
||||
# make a new one. It also signs the sign-in tokens.
|
||||
data_key: true
|
||||
|
||||
- env_var: DB_PASSWORD
|
||||
label: "Adatbázis jelszó"
|
||||
type: secret
|
||||
# hex: it sits inside DATABASE_URL, where a symbol of a password generator would break the address.
|
||||
generate: "hex:32"
|
||||
locked_after_deploy: true
|
||||
|
||||
- env_var: MCP_JWT_SECRET
|
||||
label: "AI-modul kulcs"
|
||||
type: secret
|
||||
generate: "hex:32"
|
||||
locked_after_deploy: true
|
||||
|
||||
setup_gate: true
|
||||
# measured on 9202 2026-11-15 (drill catalog, 0.18.0), the controller's own probe log: has_users "false" (13:19:02Z)
|
||||
# -> "true" (13:19:21Z) once the household made the first admin, and the gate opened; a stranger's create-admin then
|
||||
# got 403 "Setup already completed" from the app itself (felhom.eu audits/new-app-securo-2026-11-15/box/).
|
||||
setup_done_probe:
|
||||
url: http://securo:8080/api/setup/status
|
||||
field: has_users
|
||||
done: "true"
|
||||
|
||||
# --- Customer-facing info ---
|
||||
app_info:
|
||||
tagline: "Családi pénzügyek a saját szervereden - számlák, költségvetés és célok egy helyen"
|
||||
add_people: "A családtagod fiókját te hozod létre: fiókmenü, Admin, Felhasználók."
|
||||
docs_url: "https://docs.usesecuro.com/"
|
||||
use_cases:
|
||||
- 'Bankszámlák, kártyák és készpénz egy helyen, futó egyenleggel'
|
||||
- 'A netbankból letöltött CSV, OFX, QIF vagy CAMT fájl betöltése'
|
||||
- 'Havi költségvetés, ismétlődő tételek és hitelek követése'
|
||||
- 'Megtakarítási célok és vagyontárgyak értékének követése'
|
||||
first_steps:
|
||||
- 'Nyisd meg a finance.DOMAIN címet, és a Language listában válaszd a Magyar nyelvet'
|
||||
- 'Hozd létre a saját fiókodat: ez lesz az admin. Pénznemnek válaszd a forintot (HUF)'
|
||||
- 'A netbankodban töltsd le a számlád tételeit, és töltsd be a Securóba'
|
||||
- 'Minden családtag a saját böngészőjében egyszer kiválasztja a Magyar nyelvet: bal lent a munkaterület menüje, Nyelv'
|
||||
guide:
|
||||
checked_version: "0.18.0"
|
||||
sections:
|
||||
- title: "Bankszámla felvétele"
|
||||
intro: "Minden számládnak, kártyádnak és a készpénzednek saját számlája van a Securóban."
|
||||
steps:
|
||||
- "A bal oldali menüben kattints a „Számlák” pontra."
|
||||
- "Kattints a „Számla hozzáadása” gombra."
|
||||
- "Add meg a nevét, típusnak válaszd például a „Folyószámla” lehetőséget, a „Pénznem” legyen HUF."
|
||||
- "Írd be a mai „Egyenleg” értékét, és mentsd el."
|
||||
- title: "Netbankos kivonat betöltése"
|
||||
intro: "Nem kell minden tételt kézzel beírnod: a netbankból letöltött fájlt a Securo be tudja olvasni."
|
||||
steps:
|
||||
- "A netbankodban töltsd le a számla tételeit CSV, OFX, QIF vagy CAMT fájlként."
|
||||
- "A bal oldali menüben kattints az „Importálás” pontra."
|
||||
- "Húzd a fájlt a „Húzz ide egy fájlt, vagy kattints a kiválasztáshoz” mezőre."
|
||||
- "Az „Importálás ide:” mezőben válaszd ki a számlát, és nézd át az „Előnézet” listát."
|
||||
- "Hagyd bekapcsolva a „Duplikált tranzakciók kihagyása” kapcsolót, és kattints az importálás gombra."
|
||||
- title: "Havi költségkeret"
|
||||
intro: "A költségkeret megmutatja, mennyit költhetsz egy kategóriára egy hónapban."
|
||||
steps:
|
||||
- "A bal oldali menüben kattints a „Költségkeretek” pontra."
|
||||
- "Kattints a „Költségkeret hozzáadása” gombra."
|
||||
- "Válaszd ki a kategóriát, írd be a „Limit” összegét, és mentsd el."
|
||||
- "A Securo a hónap során mutatja, mennyi fogyott el a keretből."
|
||||
- title: "Családtag hozzáadása"
|
||||
intro: "Mindenki saját fiókkal lép be. A fiókot az adminisztrátor hozza létre."
|
||||
steps:
|
||||
- "Kattints jobb fent a fiókod körére, és válaszd az „Adminisztráció” pontot."
|
||||
- "A „Felhasználók kezelése” részben kattints a „Felhasználó hozzáadása” gombra."
|
||||
- "Add meg az „E-mail” címét és egy jelszót, majd mentsd el."
|
||||
- "A családtag a saját jelszavát a fiókmenü „Jelszó módosítása” pontjában cseréli le."
|
||||
faq:
|
||||
- q: "Elfelejtettem a jelszavamat. Mit tegyek?"
|
||||
a: "A Securo nem küld e-mailt. Az adminisztrátor az „Adminisztráció” oldalon, a felhasználó szerkesztésénél a „Jelszó visszaállítása” mezőben ad neked új jelszót."
|
||||
- q: "Össze tudom kötni a bankommal?"
|
||||
a: "A Securo külső banki szolgáltatásokon keresztül tud kapcsolódni, ehhez saját fiók kell náluk; a doboz ezt nem állítja be. A legegyszerűbb a netbankból letöltött fájl betöltése."
|
||||
- q: "Be tudja zárni bárki a regisztrációt?"
|
||||
a: "A regisztráció ki van kapcsolva: új fiókot csak az adminisztrátor hoz létre. Az „Adminisztráció” oldalon a „Felhasználói regisztráció engedélyezése” kapcsolóval nyithatod meg, de erre a családnak nincs szüksége."
|
||||
- q: "Mentődnek a pénzügyi adataim?"
|
||||
a: "Az adataid a dobozon vannak. A mentés állapotát a vezérlőpulton, az alkalmazás „Adatok és mentés” fülén látod."
|
||||
|
||||
# --- Controller health probe (dials what the compose healthcheck dials) ---
|
||||
healthcheck:
|
||||
checks:
|
||||
- type: api
|
||||
port: 8080
|
||||
path: "/api/health"
|
||||
expect:
|
||||
status: 200
|
||||
|
||||
i18n:
|
||||
en:
|
||||
description: 'Family finances in one place - accounts, budgets, loans, savings'
|
||||
app_info:
|
||||
tagline: 'Family finances on your own server - accounts, budgets and goals in one place'
|
||||
add_people: "You create your family member's account: account menu, Admin, Users."
|
||||
use_cases:
|
||||
- 'Bank accounts, cards and cash in one place, with running balances'
|
||||
- 'Load the CSV, OFX, QIF or CAMT file you download from your online bank'
|
||||
- 'Monthly budgets, recurring items and loans'
|
||||
- 'Savings goals and the value of your assets'
|
||||
first_steps:
|
||||
- 'Open finance.DOMAIN and choose your language in the Language list'
|
||||
- 'Create your own account: it becomes the admin. Choose the forint (HUF) as your currency'
|
||||
- 'Download the items of your account in your online bank, and load them into Securo'
|
||||
- 'Each family member chooses the language once in their own browser: the workspace menu at the bottom left, Language'
|
||||
guide:
|
||||
sections:
|
||||
- title: "Add a bank account"
|
||||
intro: "Each of your accounts, cards and your cash has its own account in Securo."
|
||||
steps:
|
||||
- "In the menu on the left, select „Accounts”."
|
||||
- "Select „Add Account”."
|
||||
- "Enter its name, choose a type such as „Checking”, and set „Currency” to HUF."
|
||||
- "Enter today's „Balance” and save."
|
||||
- title: "Load a bank statement"
|
||||
intro: "You do not have to type in every item by hand: Securo can read the file you download from your online bank."
|
||||
steps:
|
||||
- "In your online bank, download the account items as a CSV, OFX, QIF or CAMT file."
|
||||
- "In the menu on the left, select „Import”."
|
||||
- "Drop the file on „Drag a file or click to select”."
|
||||
- "In „Import to:”, choose the account, and look through the „Preview” list."
|
||||
- "Keep „Skip duplicate transactions” on, and select the import button."
|
||||
- title: "A monthly budget"
|
||||
intro: "A budget shows how much you can spend on a category in a month."
|
||||
steps:
|
||||
- "In the menu on the left, select „Budgets”."
|
||||
- "Select „Add Budget”."
|
||||
- "Choose the category, enter the „Limit”, and save."
|
||||
- "During the month, Securo shows how much of the budget is used."
|
||||
- title: "Add a family member"
|
||||
intro: "Everyone signs in with their own account. The administrator creates the account."
|
||||
steps:
|
||||
- "Select your account circle at the top right and choose „Administration”."
|
||||
- "In „User Management”, select „Add User”."
|
||||
- "Enter their „Email” and a password, then save."
|
||||
- "The family member changes the password in the account menu, „Change password”."
|
||||
faq:
|
||||
- q: "I forgot my password. What do I do?"
|
||||
a: "Securo sends no e-mail. The administrator gives you a new password on the „Administration” page: edit the user and use „Reset password”."
|
||||
- q: "Can I connect it to my bank?"
|
||||
a: "Securo can connect through outside bank services, and you need your own account with them; the box does not set this up. The simplest way is to load the file from your online bank."
|
||||
- q: "Can anyone sign up?"
|
||||
a: "Sign-up is off: only the administrator creates new accounts. On the „Administration” page, „Allow user registration” opens it, but a family does not need it."
|
||||
- q: "Is my financial data backed up?"
|
||||
a: "Your data is on the box. You see the backup status on the dashboard, on the app's „Data and backup” tab."
|
||||
deploy_fields:
|
||||
- env_var: DOMAIN
|
||||
label: 'Domain'
|
||||
description: 'The server domain name'
|
||||
- env_var: SUBDOMAIN
|
||||
label: 'Subdomain'
|
||||
description: 'The subdomain this app answers on'
|
||||
- env_var: SECRET_KEY
|
||||
label: 'Encryption key'
|
||||
- env_var: DB_PASSWORD
|
||||
label: 'Database password'
|
||||
- env_var: MCP_JWT_SECRET
|
||||
label: 'AI module key'
|
||||
|
||||
# --- Security watch (felhom.eu R-1303): where each image's security notices are published ---
|
||||
# One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10).
|
||||
upstream:
|
||||
ghcr.io/securo-finance/securo-frontend: "github:securo-finance/securo"
|
||||
ghcr.io/securo-finance/securo-backend: "github:securo-finance/securo"
|
||||
pgvector/pgvector: "gap:the pgvector image publishes no notices of its own; PostgreSQL announces on postgresql.org only"
|
||||
redis: "github:redis/redis"
|
||||
|
||||
# update_ladder — the test record: one tested step per line, oldest first (JSON flow mappings,
|
||||
# `09-update-architecture.md` §6.4 part 4). WRITTEN BY scripts/upgrade-test.py, never by hand;
|
||||
# gated by scripts/check-test-record.py. An image: move without a proven entry here is refused.
|
||||
update_ladder:
|
||||
- {"from": {"securo": "ghcr.io/securo-finance/securo-frontend:0.17.0", "securo-backend": "ghcr.io/securo-finance/securo-backend:0.17.0", "securo-worker": "ghcr.io/securo-finance/securo-backend:0.17.0", "securo-beat": "ghcr.io/securo-finance/securo-backend:0.17.0", "securo-db": "pgvector/pgvector:0.8.7-pg16", "securo-redis": "redis:8.10.3-alpine"}, "to": {"securo": "ghcr.io/securo-finance/securo-frontend:0.18.0", "securo-backend": "ghcr.io/securo-finance/securo-backend:0.18.0", "securo-worker": "ghcr.io/securo-finance/securo-backend:0.18.0", "securo-beat": "ghcr.io/securo-finance/securo-backend:0.18.0", "securo-db": "pgvector/pgvector:0.8.7-pg16", "securo-redis": "redis:8.10.3-alpine"}, "digest": {"securo": "sha256:6a0d726085cf6b67898c3dbb2b53e7949dfeeb8479ec8d45046a5cc0169ead01", "securo-backend": "sha256:9f050a7ac5dabfe6c53b89a08a5bd4c1cf5758e057c19359bda59e7cc74e212e", "securo-beat": "sha256:9f050a7ac5dabfe6c53b89a08a5bd4c1cf5758e057c19359bda59e7cc74e212e", "securo-db": "sha256:484e838076e04939d27d3e176e91c86eea96236126023be8d3059761122e579f", "securo-redis": "sha256:7958cfbb9d152f87dadfbc89f1b0b15938f0b81ff8982feb327476f4911935c3", "securo-worker": "sha256:9f050a7ac5dabfe6c53b89a08a5bd4c1cf5758e057c19359bda59e7cc74e212e"}, "verdict": "proven", "tested_at": "2026-11-15T12:41:53Z", "harness_version": 5, "evidence": "felhom.eu/documentation/audits/new-app-securo-2026-11-15/bench/evidence/MV-securo/verdict.json", "box_evidence": "felhom.eu/documentation/audits/new-app-securo-2026-11-15/box/step/box-verdict-securo.json", "memory_peak_pct": 45.1, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon_live", "memory_cgroup_peak_pct": 59.1}
|
||||
@@ -0,0 +1,252 @@
|
||||
# Securo - Családi pénzügyek: számlák, költségvetés, megtakarítás
|
||||
# Domain: ${SUBDOMAIN}.${DOMAIN}
|
||||
# Database: PostgreSQL 16 + pgvector (the image upstream's own compose runs — `09` decision 42's rule) + Redis + Celery
|
||||
# RAM: ~600M (mem_limit: 1920M total — web 128M + backend 384M + worker 512M + beat 256M + db 512M + redis 128M) | Pi-compatible: Yes (amd64, arm64)
|
||||
#
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# SECRET_KEY - Aláíró és titkosító kulcs (generált; a banki kapcsolatok adatait is ezzel titkosítja)
|
||||
# DB_PASSWORD - Adatbázis jelszó (generált, hex: a DATABASE_URL-be kerül; csak a belső hálón)
|
||||
# MCP_JWT_SECRET - Az AI-modul kulcsa (generált; a modul ki van kapcsolva, de az app beolvassa)
|
||||
#
|
||||
# Mirrors upstream's docker-compose.prod.yml at v0.18.0 (backend, celery worker, celery beat and the nginx frontend
|
||||
# on securo-finance's images; pgvector pg16; redis 8), pinned. Differences, each on purpose:
|
||||
# - NO one-shot `migrate` service: the backend runs `alembic upgrade head` before uvicorn, and the worker and beat wait
|
||||
# for the backend's healthcheck, so nothing touches the schema before it is at head (upstream's own reason for the
|
||||
# job). A failed migration keeps the backend unhealthy, and the box's update undo sees that.
|
||||
# - The optional modules stay OFF: AI agents (no mcp-server), plugins, Brazilian bond prices (TESOURO_DIRETO_ENABLED,
|
||||
# on by default upstream). Bank sync is OFF until the household sets up its OWN provider account (the box does not).
|
||||
# - REGISTRATION_ENABLED=false from the first byte: the first admin is made on the app's own setup page (the box holds
|
||||
# it behind the setup gate until then), family members are created by the admin. An admin may open sign-up in the
|
||||
# app's Admin settings on purpose; that is the household's choice.
|
||||
# - Redis is the Celery broker and the sign-in rate limiter only: no volume, no snapshot (`--save ""`).
|
||||
# - The worker runs ONE task at a time (`--concurrency=1`, upstream 2): a household has one or two bank links, and it
|
||||
# saves ~120 MB (measured on the operator's own instance, 2026-11-15).
|
||||
|
||||
services:
|
||||
securo:
|
||||
image: ghcr.io/securo-finance/securo-frontend:0.18.0
|
||||
container_name: securo
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TZ: Europe/Budapest
|
||||
BACKEND_URL: http://securo-backend:8000
|
||||
networks:
|
||||
- traefik-public
|
||||
- securo-internal
|
||||
depends_on:
|
||||
securo-backend:
|
||||
condition: service_healthy
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 128M
|
||||
healthcheck:
|
||||
# BusyBox wget (the nginx-unprivileged alpine image); the path goes through nginx to the backend, so a dead
|
||||
# backend reads unhealthy here too.
|
||||
test: ["CMD-SHELL", "wget -qO - http://127.0.0.1:8080/api/health | grep -q healthy"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.securo.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
|
||||
- "traefik.http.routers.securo.entrypoints=websecure"
|
||||
- "traefik.http.routers.securo.tls=true"
|
||||
- "traefik.http.routers.securo.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.securo.loadbalancer.server.port=8080"
|
||||
|
||||
securo-backend:
|
||||
image: ghcr.io/securo-finance/securo-backend:0.18.0
|
||||
container_name: securo-backend
|
||||
restart: unless-stopped
|
||||
command: ["sh", "-c", "alembic upgrade head && exec uvicorn app.main:app --host 0.0.0.0 --port 8000"]
|
||||
environment:
|
||||
TZ: Europe/Budapest
|
||||
DATABASE_URL: postgresql+asyncpg://securo:${DB_PASSWORD}@securo-db:5432/securo
|
||||
REDIS_URL: redis://securo-redis:6379/0
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
DEBUG: "false"
|
||||
FRONTEND_URL: https://${SUBDOMAIN}.${DOMAIN}
|
||||
REGISTRATION_ENABLED: "false"
|
||||
LOCAL_AUTH_ENABLED: "true"
|
||||
DEFAULT_CURRENCY: HUF
|
||||
STORAGE_LOCAL_PATH: /app/data/attachments
|
||||
# The sign-in rate limit (5 tries a minute per address) keys on the Nth X-Forwarded-For entry from the right.
|
||||
# 3 = the internet visitor Cloudflare appended: the chain reaching the backend is <visitor>, <cloudflared>,
|
||||
# <traefik> (traefik appends cloudflared, nginx appends traefik). A forged left entry does not move the key; a LAN
|
||||
# visitor's chain is shorter and keys on "unknown" (one bucket for the home network). Measured: onboarding 3.10.
|
||||
TRUSTED_PROXY_HOPS: "3"
|
||||
# PSD2: a bank may refuse more than four unattended reads a day (upstream docs/automatic-bank-sync.md).
|
||||
BANK_SYNC_MIN_INTERVAL_HOURS: "6"
|
||||
TESOURO_DIRETO_ENABLED: "false"
|
||||
BRASILAPI_INSTITUTION_LOOKUP_ENABLED: "false"
|
||||
SIMPLEFIN_ENABLED: "false"
|
||||
FX_SYNC_MODE: on_demand
|
||||
AGENTS_ENABLED: "false"
|
||||
AGENTS_MCP_JWT_SECRET: ${MCP_JWT_SECRET}
|
||||
volumes:
|
||||
- securo_attachments:/app/data/attachments
|
||||
networks:
|
||||
- securo-internal
|
||||
depends_on:
|
||||
securo-db:
|
||||
condition: service_healthy
|
||||
securo-redis:
|
||||
condition: service_healthy
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 384M
|
||||
healthcheck:
|
||||
# The image has python and no wget/curl (inspected 2026-11-15, one tool per run) — upstream's own probe.
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health', timeout=5)"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 120s
|
||||
|
||||
securo-worker:
|
||||
image: ghcr.io/securo-finance/securo-backend:0.18.0
|
||||
container_name: securo-worker
|
||||
restart: unless-stopped
|
||||
command: ["celery", "-A", "app.worker", "worker", "--loglevel=info", "--concurrency=1"]
|
||||
environment:
|
||||
TZ: Europe/Budapest
|
||||
DATABASE_URL: postgresql+asyncpg://securo:${DB_PASSWORD}@securo-db:5432/securo
|
||||
REDIS_URL: redis://securo-redis:6379/0
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
DEBUG: "false"
|
||||
FRONTEND_URL: https://${SUBDOMAIN}.${DOMAIN}
|
||||
REGISTRATION_ENABLED: "false"
|
||||
LOCAL_AUTH_ENABLED: "true"
|
||||
DEFAULT_CURRENCY: HUF
|
||||
STORAGE_LOCAL_PATH: /app/data/attachments
|
||||
# The sign-in rate limit (5 tries a minute per address) keys on the Nth X-Forwarded-For entry from the right.
|
||||
# 3 = the internet visitor Cloudflare appended: the chain reaching the backend is <visitor>, <cloudflared>,
|
||||
# <traefik> (traefik appends cloudflared, nginx appends traefik). A forged left entry does not move the key; a LAN
|
||||
# visitor's chain is shorter and keys on "unknown" (one bucket for the home network). Measured: onboarding 3.10.
|
||||
TRUSTED_PROXY_HOPS: "3"
|
||||
# PSD2: a bank may refuse more than four unattended reads a day (upstream docs/automatic-bank-sync.md).
|
||||
BANK_SYNC_MIN_INTERVAL_HOURS: "6"
|
||||
TESOURO_DIRETO_ENABLED: "false"
|
||||
BRASILAPI_INSTITUTION_LOOKUP_ENABLED: "false"
|
||||
SIMPLEFIN_ENABLED: "false"
|
||||
FX_SYNC_MODE: on_demand
|
||||
AGENTS_ENABLED: "false"
|
||||
AGENTS_MCP_JWT_SECRET: ${MCP_JWT_SECRET}
|
||||
volumes:
|
||||
- securo_attachments:/app/data/attachments
|
||||
networks:
|
||||
- securo-internal
|
||||
depends_on:
|
||||
securo-backend:
|
||||
condition: service_healthy
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
# The worker serves no port: this shows only that celery is the container's main process.
|
||||
test: ["CMD", "grep", "-q", "celery", "/proc/1/cmdline"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
securo-beat:
|
||||
image: ghcr.io/securo-finance/securo-backend:0.18.0
|
||||
container_name: securo-beat
|
||||
restart: unless-stopped
|
||||
# The schedule file lives in /tmp: it only remembers when each hourly job last ran, and is rebuilt at start.
|
||||
command: ["celery", "-A", "app.worker", "beat", "--loglevel=info", "--schedule", "/tmp/celerybeat-schedule"]
|
||||
environment:
|
||||
TZ: Europe/Budapest
|
||||
DATABASE_URL: postgresql+asyncpg://securo:${DB_PASSWORD}@securo-db:5432/securo
|
||||
REDIS_URL: redis://securo-redis:6379/0
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
DEBUG: "false"
|
||||
FRONTEND_URL: https://${SUBDOMAIN}.${DOMAIN}
|
||||
REGISTRATION_ENABLED: "false"
|
||||
LOCAL_AUTH_ENABLED: "true"
|
||||
DEFAULT_CURRENCY: HUF
|
||||
STORAGE_LOCAL_PATH: /app/data/attachments
|
||||
# The sign-in rate limit (5 tries a minute per address) keys on the Nth X-Forwarded-For entry from the right.
|
||||
# 3 = the internet visitor Cloudflare appended: the chain reaching the backend is <visitor>, <cloudflared>,
|
||||
# <traefik> (traefik appends cloudflared, nginx appends traefik). A forged left entry does not move the key; a LAN
|
||||
# visitor's chain is shorter and keys on "unknown" (one bucket for the home network). Measured: onboarding 3.10.
|
||||
TRUSTED_PROXY_HOPS: "3"
|
||||
# PSD2: a bank may refuse more than four unattended reads a day (upstream docs/automatic-bank-sync.md).
|
||||
BANK_SYNC_MIN_INTERVAL_HOURS: "6"
|
||||
TESOURO_DIRETO_ENABLED: "false"
|
||||
BRASILAPI_INSTITUTION_LOOKUP_ENABLED: "false"
|
||||
SIMPLEFIN_ENABLED: "false"
|
||||
FX_SYNC_MODE: on_demand
|
||||
AGENTS_ENABLED: "false"
|
||||
AGENTS_MCP_JWT_SECRET: ${MCP_JWT_SECRET}
|
||||
networks:
|
||||
- securo-internal
|
||||
depends_on:
|
||||
securo-backend:
|
||||
condition: service_healthy
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256M
|
||||
healthcheck:
|
||||
test: ["CMD", "grep", "-q", "celery", "/proc/1/cmdline"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
securo-db:
|
||||
image: pgvector/pgvector:0.8.7-pg16
|
||||
container_name: securo-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TZ: Europe/Budapest
|
||||
POSTGRES_USER: securo
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_DB: securo
|
||||
volumes:
|
||||
- securo_db_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- securo-internal
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U securo -d securo"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
|
||||
securo-redis:
|
||||
image: redis:8.10.3-alpine
|
||||
container_name: securo-redis
|
||||
restart: unless-stopped
|
||||
command: ["redis-server", "--save", "", "--appendonly", "no"]
|
||||
networks:
|
||||
- securo-internal
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 128M
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
securo_db_data:
|
||||
securo_attachments:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
securo-internal:
|
||||
Reference in new issue
Block a user