For app publishers
Storage
Folders kept across deploys, and files mounted into the container.
What this is
This page is about where your app keeps things. When cyantula deploys your app (puts a version online), the app runs in a container: a sealed box with its own small disk. That disk is wiped on every deploy, so anything the app saves there is lost. This page has three ways to keep things safe: Databases, Persistent folders and Files.
If your app stores anything, such as uploads or user data, check this page. It is how you avoid losing it.
Where to find it
- Open the Apps page and click your app.
- Switch to Advanced at the top of the app page.
- Click the card Build & deploy, then Storage.
This page is in the Advanced view. If your app already uses a database, a persistent folder or an uploaded file, the Simple view lists Storage under Also in use on this app on the app page. When cyantula suggests a folder or a file, a number appears next to Storage, and it shows in the Simple view too.
What you see
Three cards, one under the other.
Databases. The databases your app has. A database is where an app keeps its data in an organised way. The list shows the kind (PostgreSQL, MySQL / MariaDB, MongoDB, Redis or Qdrant (vectors)), its name, and how the connection is handed to the app. Every database lives on cyantula's shared servers with a name, user and password of its own for your app. cyantula gives the app its connection on every deploy, so the app never holds the password itself. Its data survives every redeploy. Under the list there is a drop-down called Database engine and the button Attach database.
Persistent folders. Folders whose content survives restarts, redeploys and going back to an earlier version. The list says for each one:
- detected by Claude on the running version — mounted automatically: cyantula's AI review found that the app writes there, and keeps the folder for you.
- kept by you: you added it. It has a Release button.
A yellow notice may say Claude spotted data written to a folder a redeploy would wipe, with the folder, the reason, and the buttons Keep this folder and Dismiss. At the bottom is a box (the example shows /app/uploads) and a Keep this folder button.
Files. For a file the app has to open from disk, such as a credentials file, a certificate or a licence key. You upload it here instead of putting it in the code. The app can only read it, never change it. The table has File and Mounted at. Under File you see its size and upload date. Under Mounted at you see the path where the app will find it, and read-only. A yellow notice may say Claude sees this app open a file the repository does not carry, with Upload this file and Dismiss. Below the table there is a file picker, a box for the path, a box variable holding the path (optional) and the Upload button. When the app has a dev address, a list lets you pick live + dev or dev only.
How to attach a database
- In Databases, open Database engine and pick the kind. If you do not know, use PostgreSQL. It is the usual choice.
- Click Attach database.
- A window asks Attach a … database to …? It tells you cyantula creates a database with its own user and password and gives the connection to the app, that a running app is redeployed right away, and that data the app only kept in memory is not carried over. Click Attach.
- A message says the database is attached and the next deploy creates it.
The app's code has to use the database. If you are not the builder of the app, ask them to make the app use the database cyantula provides.
How to keep a folder
Use this when the app saves files itself, for example uploads.
- If cyantula suggests a folder, check the reason and click Keep this folder.
- Otherwise type the folder's path in the box, for example
/app/uploads, and click Keep this folder. The path is where the app writes, inside its container. Ask whoever built the app if you are not sure. - A message says cyantula keeps the folder from the next start on. Changing this list restarts the app.
You know it worked when the folder appears in the list as kept by you.
Click Dismiss on a suggestion if the folder does not need to be kept. It is not suggested again.
How to stop keeping a folder
- Click Release on the folder's row.
- Your browser asks Stop mounting …? and explains that the app then writes to its own wiped disk again. Files already saved stay on cyantula's disk until the app is deleted. Confirm.
- A message says the folder is no longer mounted.
How to upload a file for the app
- In Files, click the file picker and choose the file.
- In the path box, type where the app should find the file, including the file name. If you leave it empty, a path is suggested from the file name. Give the full path of the file, not only its folder.
- If the app expects to find the file's location in a setting, type that setting's name in variable holding the path (optional). cyantula then fills it in for you.
- If you see the live + dev list, choose where the file applies.
- Click Upload. The button says Uploading….
- A message says the file is mounted at that path. The addresses that read it restart.
When cyantula suggests a file, click Upload this file next to it. The path is filled in, and the file picker opens.
How to remove an uploaded file
- Click Remove on the file's row.
- A window asks Remove …? and tells you nothing is mounted there any more, and the app sees no file on its next start. Click Remove.
When something looks wrong
- This app has no database. If it stores anything, it keeps it in its container or in memory — and loses it on the next deploy. Attach one, or keep a folder.
- No folders are mounted — everything this app writes inside its container disappears on the next deploy. This is right for an app that keeps all its data in a database.
- No files uploaded. Most apps need none. Normal.
- That did not work — and a reason, under the Files card. Nothing was uploaded. Check the path and the size, and try again. The card shows the limit on the number of files and their size.
- Your data disappeared after a deploy: the app saved it in a folder that is not kept. Keep that folder, or attach a database.
Good to know
- Only people who manage the app can change storage.
- A deploy wipes everything the app writes outside a kept folder or a database.
- Uploading over a path that is already used replaces that file.
- Persistent folders and databases are part of the backup. See Backups.
- The dev address gets folders of its own. A test version never touches the live app's files.
- Databases do not belong in a folder. cyantula sets those up separately.
- Attaching a database redeploys a running app straight away.
- Any password the app needs for a database is created by cyantula. You do not type one in.