From 9a78e3b757e2c7bcbdda7b9dede3e4dba283935c Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Wed, 30 Sep 2026 17:46:01 +0200 Subject: [PATCH] ghost: 6.65.0-alpine -> 6.67.0-alpine, within-major step, both venues proven (R-462) Bench 9401 (harness v4, swap 0): the site set up through /ghost/api/admin/authentication/setup/, its title read back before and after, 10-min memory watch 0 kills (anon peak 26.7 %); the abort starts and serves. Box 9202: the guarded Update done in 107.7 s through the setup gate, read back. Written by upgrade-test.py --write-ladder. Evidence: felhom.eu/documentation/audits/more-night-apps-2026-09-30/ Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- templates/ghost/.felhom.yml | 3 +- templates/ghost/docker-compose.yml | 2 +- .../ghost/steps/b937fe12810ef293.felhom.yml | 103 ++++++++++++++++++ templates/ghost/steps/b937fe12810ef293.yml | 47 ++++++++ 4 files changed, 153 insertions(+), 2 deletions(-) create mode 100644 templates/ghost/steps/b937fe12810ef293.felhom.yml create mode 100644 templates/ghost/steps/b937fe12810ef293.yml diff --git a/templates/ghost/.felhom.yml b/templates/ghost/.felhom.yml index fbd12ec..901ff69 100644 --- a/templates/ghost/.felhom.yml +++ b/templates/ghost/.felhom.yml @@ -10,7 +10,7 @@ subdomain: "blog" slug: "ghost" # 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-09-23" +catalog_since: "2026-09-30" # Bare "/" is the public blog; the admin panel / setup wizard lives at /ghost/. open_path: "/ghost/" @@ -108,3 +108,4 @@ i18n: update_ladder: - {"from": {"ghost": "ghost:6.53.0-alpine"}, "to": {"ghost": "ghost:6.64.0-alpine"}, "digest": {"ghost": "sha256:47ecbe856dd06dcd20cb9410e1c4d532fc085eba776cfabc203609c7d15d8320"}, "verdict": "proven", "tested_at": "2026-09-22T13:11:12.069214+00:00", "harness_version": 1, "evidence": "felhom.eu/documentation/audits/the-28-2026-09-22/apps/ghost/verdict.json", "memory_peak_pct": null, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "backfilled": "2026-09-23", "note": "backfilled from catalog commit acbfafa; box walk only (harness v1, no memory watch); digest = what the registry served on 2026-09-23, not a measurement of the tested image"} - {"from": {"ghost": "ghost:6.64.0-alpine"}, "to": {"ghost": "ghost:6.65.0-alpine"}, "digest": {"ghost": "sha256:65788e5e2c5478319f8fc65ac12816dbc941d1a9c834c87190cf1d2d1b79d4e2"}, "verdict": "proven", "tested_at": "2026-09-23T19:32:30Z", "harness_version": 3, "evidence": "felhom.eu/documentation/audits/night-2026-09-23/apps/ghost/bench/evidence/MV-ghost/verdict.json", "box_evidence": "felhom.eu/documentation/audits/night-2026-09-23/apps/ghost/verdict.json", "memory_peak_pct": 24.9, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 43.3} + - {"from": {"ghost": "ghost:6.65.0-alpine"}, "to": {"ghost": "ghost:6.67.0-alpine"}, "digest": {"ghost": "sha256:1f7ecf094d54363014636c3540dbe9c368394504abaa283914e4fcf8d699f331"}, "verdict": "proven", "tested_at": "2026-09-30T15:42:18Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/bench/apps/ghost/bench/evidence/MV-ghost/verdict.json", "box_evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/box/ghost/step.txt", "memory_peak_pct": 26.7, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 33.9} diff --git a/templates/ghost/docker-compose.yml b/templates/ghost/docker-compose.yml index dba5380..a92f943 100644 --- a/templates/ghost/docker-compose.yml +++ b/templates/ghost/docker-compose.yml @@ -8,7 +8,7 @@ services: ghost: - image: ghost:6.65.0-alpine + image: ghost:6.67.0-alpine container_name: ghost restart: unless-stopped environment: diff --git a/templates/ghost/steps/b937fe12810ef293.felhom.yml b/templates/ghost/steps/b937fe12810ef293.felhom.yml new file mode 100644 index 0000000..03b3977 --- /dev/null +++ b/templates/ghost/steps/b937fe12810ef293.felhom.yml @@ -0,0 +1,103 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Ghost" +description: "Professzionális blog és hírlevél platform" +category: "productivity" +subdomain: "blog" +slug: "ghost" +# 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-09-23" +# Bare "/" is the public blog; the admin panel / setup wizard lives at /ghost/. +open_path: "/ghost/" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "150M" + mem_limit: "512M" + pi_compatible: false + 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: "blog" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + +# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47) --- +# The first visitor would create the admin; a fresh install is closed to everyone but the household until the first setup is done. +setup_gate: true +# measured on 9202 2026-09-29: before the setup {"setup":[{"status":false}]}, after {"setup":[{"status":true}]}. +setup_done_probe: + url: http://ghost:2368/ghost/api/admin/authentication/setup/ + field: setup.0.status + done: "true" + +# --- App info (info page content) --- +app_info: + tagline: "Professzionális blog és hírlevél platform" + docs_url: "https://ghost.org/docs/" + + use_cases: + - 'Professzionális blog indítása és üzemeltetése' + - 'Hírlevél küldés beépített email funkcióval' + - 'SEO-optimalizált tartalom publikálás' + - 'Tagság és fizetős tartalom kezelés' + - 'Markdown és vizuális szerkesztő' + + first_steps: + - 'Nyisd meg a blog.DOMAIN/ghost/ címet a böngészőben' + - 'Hozd létre az admin fiókot a beállítás varázslóban' + - 'Írd meg és publikáld az első posztodat' + - 'Személyre szabd a témát és beállításokat' + + prerequisites: + - 'x86 processzor szükséges' + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: http + port: 2368 + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'A professional blog and newsletter platform' + app_info: + tagline: 'A professional blog and newsletter platform' + use_cases: + - 'Start and run a professional blog' + - 'Send a newsletter with the built-in e-mail feature' + - 'Publish content that search engines can read' + - 'Memberships and paid content' + - 'A Markdown editor and a visual one' + first_steps: + - 'Open blog.DOMAIN/ghost/ in your browser' + - 'Create the admin account in the setup wizard' + - 'Write and publish your first post' + - 'Make the theme and the settings your own' + prerequisites: + - 'An x86 processor is needed' + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' diff --git a/templates/ghost/steps/b937fe12810ef293.yml b/templates/ghost/steps/b937fe12810ef293.yml new file mode 100644 index 0000000..dba5380 --- /dev/null +++ b/templates/ghost/steps/b937fe12810ef293.yml @@ -0,0 +1,47 @@ +# Ghost - Professzionális blog és hírlevél platform +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~150M (mem_limit: 512M) | Pi-compatible: No +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) + +services: + ghost: + image: ghost:6.65.0-alpine + container_name: ghost + restart: unless-stopped + environment: + - TZ=Europe/Budapest + - NODE_ENV=production + - url=https://${SUBDOMAIN}.${DOMAIN} + - database__client=sqlite3 + - database__connection__filename=content/data/ghost.db + volumes: + - ghost_content:/var/lib/ghost/content + networks: + - traefik-public + deploy: + resources: + limits: + memory: 512M + healthcheck: + test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:2368/',r=>{process.exit(r.statusCode<400?0:1)}).on('error',()=>process.exit(1))"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 30s + labels: + - "traefik.enable=true" + - "traefik.http.routers.ghost.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.ghost.entrypoints=websecure" + - "traefik.http.routers.ghost.tls=true" + - "traefik.http.routers.ghost.tls.certresolver=letsencrypt" + - "traefik.http.services.ghost.loadbalancer.server.port=2368" + +volumes: + ghost_content: + +networks: + traefik-public: + external: true