Apps
App stacks
Supabase, Ghost, Nextcloud, OpenClaw and Hermes Agent — what each installs, how to sign in and first steps.
App stacks are multi-container apps that ship with Zefily. Each runs as a Compose project under its site's own Linux user (rootless), keeps its data in named volumes, and only its web service is published to the web server, on 127.0.0.1. Passwords and keys are generated into the site's .env (Deploy → Edit .env shows them).
The panel checks the server's memory before installing a stack or a container app. It adds up what is already there: the minimum memory of the installed stacks, and the memory in use in the latest metrics (up to 15 minutes old). A tenth of the memory (at least 384 MB) stays free for the system.
The panel also checks the free disk, because a full disk stops every site on the server. A stack needs room for its images and first data (Ghost 2.5 GB, Nextcloud and OpenClaw 3 GB, Hermes Agent 5 GB, Supabase 9 GB; a container app 2 GB), and at least 2 GB or 5% of the disk, whichever is more, must stay free after it. When it does not fit, the install is refused with the numbers (there is no accept-the-risk option for disk): free some disk under Disk usage on the server page and try again. A stack is not installed while the server has not reported its disk in the last 15 minutes.
The memory each stack recommends is advice, not a hard limit. When the server has less memory than the stack recommends, when the install does not fit in the free memory, or when less than 512 MB would stay free, the panel shows a red warning with the recommended and the free memory and the risks, and Install stays off until you tick I accept the risk and install anyway. The risks: the app runs slowly, the server can run out of memory, and when it does the processes restart and other sites on the server can go down too. The accepted risk is recorded in the audit log with the numbers. The API installs the same way only with accept_low_memory: true; without it the API refuses with the numbers. Zefily's own memory limits per site do not change. After a reboot the containers and stacks start at different moments within two minutes, after the agent, so they do not load the server at once. The first start downloads the images and can take several minutes.
Supabase
Recommended: 4 GB of memory. On a server with less, the install asks you to accept the memory risk (see above). The open-source Firebase alternative: PostgreSQL, authentication, storage, realtime, edge functions, the REST and GraphQL APIs and Supabase Studio.
- Studio (the dashboard) is at your domain, behind a login: Show admin login reveals the user and password.
- Your app connects to
https://your-domainwith the anon key (ANON_KEYin the.env); keep theSERVICE_ROLE_KEYon servers only. - Publishable and secret keys. A new stack also gets
SUPABASE_PUBLISHABLE_KEY(sb_publishable_…) andSUPABASE_SECRET_KEY(sb_secret_…) in the.env, in the format of Supabase's own key script (utils/add-new-auth-keys.sh at self-hosted/v0.8.5). Edge Functions accept them in theapikeyheader:/functions/v1/helloanswers 200 with the publishable, secret or anon key and 401 without one. Auth, REST, Realtime and Storage accept them too: the gateway passes the request on with the legacy key of the same role (ANON_KEY_ASYMMETRICandSERVICE_ROLE_KEY_ASYMMETRIChold those legacy keys in this stack). A stack installed before this version gets the missing keys on its next deploy; no existing key is changed. - The gateway's health check asks Auth and REST over HTTP, not only whether its port is open, so the stack reports healthy only when both answer. A first start can take several minutes.
- Since Supabase 0.8.4 the API gateway no longer adds CORS headers to
/functions/v1/responses. An Edge Function that a browser calls must send its own CORS headers: see CORS support for Edge Functions. - Back up the database before you update Supabase. The Supabase 0.8.5 Realtime update changes the database in a way the previous Realtime version cannot read, so going back to the previous version breaks Postgres Changes.
- Since Supabase 0.8.5 HTML and SVG files opened directly in the browser from Storage, the Data API or Edge Functions no longer run scripts. Images, downloads and
fetchcalls still work; host web pages somewhere other than Storage or Edge Functions. - Sign-ups are confirmed without email until you set SMTP: add
SMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASSandSMTP_ADMIN_EMAILin the.envand Deploy now. - Versions are pinned to a tested set of Supabase services.
Ghost
First step: the site's page shows a First step notice. Open the site and create the admin on its setup screen, behind the site password; no command is needed.
Recommended: 1 GB of memory. The publishing platform, with its MySQL database.
- There is no generated login: open
https://your-domain/ghostright after installing and create the owner account — whoever does it first becomes the owner. - Email: staff invitations, member sign-in links and password resets need an SMTP server. Open Deploy → Edit .env, set
MAIL_TRANSPORT=SMTP,SMTP_HOST,SMTP_PORT(587, or 465 withSMTP_SECURE=true),SMTP_USER,SMTP_PASSand optionallyMAIL_FROM, save, then Deploy now. - Newsletters are sent through Mailgun, configured in Ghost Admin → Settings → Email newsletter.
Nextcloud
Recommended: 2 GB of memory. Files, calendar, contacts and office collaboration, with MariaDB and Redis.
- Sign in with Show admin login (
adminand the generated password). - Install apps from Nextcloud's app store in its settings. Large uploads are limited by the site's PHP and web server settings in the container.
- Major version upgrades are done by Zefily after testing: Nextcloud cannot skip major versions.
OpenClaw
Recommended: 2 GB of memory. An open-source AI agent gateway with its Control UI.
- Open your domain and enter the gateway token: Show admin login shows it under the label Gateway token (there is no user name).
- A new browser needs approval once. Open Shell on this site and run
node dist/index.js devices list, thennode dist/index.js devices approve <requestId>with the request ID it lists. - Add your model provider keys (OpenAI, Anthropic, …) and channels in the Control UI.
- Keep HTTPS on: OpenClaw only accepts its public origin over HTTPS.
Hermes Agent + WebUI
Recommended: 2 GB of memory. Nous Research's Hermes Agent with Hermes WebUI.
- Open your domain and sign in to the WebUI with the password shown by Show admin login.
- Set a model provider from the site's Shell: choose the agent container (not the WebUI), then run
hermes model. It asks for the provider and its API key and saves them in the agent's Hermes home, so they stay across deploys. Usehermes modelagain to change the provider. - The first start installs the WebUI's Python dependencies and takes a few minutes.
Updating stacks
Deploy now on the site's Deploy pane restarts the stack on the version it runs, with the newest patch releases its images allow (see Which version is installed?). It never moves the app to a new version by itself.
When Zefily has tested a newer version, the pane shows Update available with what it brings, for example Nextcloud 32 is available. After it, 3 more updates bring the newest version. Update then:
- stops the site (it is offline for a few minutes),
- copies the stack's data volumes and its database folders (a Compose project's bind-mounted data, kept in
shared/compose) to~/backups/<release>-pre-upgrade/in the site user's home, when the disk has room for it: the data plus a tenth of the disk kept free (the two newest copies are kept). A copy that fails stops the update, and the site runs its previous version again. Data that does not fit stops the update before the site is stopped: the panel shows the sizes, and you free disk space or back up the app and update again. Only when you confirm Update without a copy; I have a backup does the update go on without a copy, so back up first, - starts the new version, which migrates the data, and waits up to 30 minutes for it to answer.
An update is never switched back on its own: the previous version could not read data the new one has migrated. If the new version does not answer, the deploy log shows the app's last log lines and where the copy is.
A failed update that did not switch leaves the app on its current version: Update available shows again, and a deploy keeps that version. A deploy of another version than the one running, or of an app whose state the panel cannot read, goes as an update with a copy first, so it never runs without one. A rollback goes only to a release whose image is still on the server.
Restoring the copy (as root on the server; <site> is the site's directory /home/<user>/sites/<domain>, <backups> is /home/<user>/backups/<release>-pre-upgrade):
-
Stop the site, so that no container writes the data.
-
Put back each named volume the copy holds (
<volume>.tar).podman volume importmerges the archive into the volume and does not clear it, so empty the volume first, then import:runuser -u <user> -- podman unshare find "$(runuser -u <user> -- podman volume inspect -f '{{.Mountpoint}}' <volume>)" -mindepth 1 -delete runuser -u <user> -- podman volume import <volume> <backups>/<volume>.tar -
Put back the bind data (
compose.tar), if the copy has it:runuser -u <user> -- mv <site>/shared/compose <site>/shared/compose.failed runuser -u <user> -- podman unshare sh -c 'mkdir "$1" && exec tar --numeric-owner --xattrs --xattrs-include="*" -C "$1" -xf "$2"' sh <site>/shared/compose <backups>/compose.tarThe move works even though the folder's files belong to the container's subordinate ids: renaming a folder needs write permission on its parent (
shared/, the site user's), not on the folder itself. Remove the failed folder later withrunuser -u <user> -- podman unshare rm -rf <site>/shared/compose.failed, because its files need the same namespace to delete. -
Roll back from the site's Deploy pane and confirm the prompt (Roll back anyway).
Nextcloud moves one major version per update (31 → 32 → 33 → 34 → 35), because it cannot skip one; run Update until the pane no longer shows it. Back up first: stack data lives in named volumes — back up the site's files and use each app's own export where it has one. Rollback after an update starts the old version on migrated data, which most apps refuse: restore the copy instead.
Updated November 28, 2026 View as Markdown llms.txt