Self-host AppFlowy with Levelrail
A self-hosted, open-source workspace for notes and collaborative knowledge, an alternative to Notion.
- Memory1.5 GiB
- Archarm64
- Services6
How to self-host AppFlowy
-
Pull the images
6 images are pulled on your server.
Show images
appflowyinc/admin_frontend:0.9.149appflowyinc/appflowy_cloud:0.9.149appflowyinc/gotrue:0.9.149ghcr.io/coollabsio/minio:RELEASE.2025-10-15T17-29-55Zpgvector/pgvector:pg16redis:7-alpine
-
Create the app
6 services start in a single Compose app, with 3 named volume mounts for your data, on port 3000.
-
Fill in the secrets
8 secrets are generated and stored encrypted, 25 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
AppFlowy requirements
- Memory
- About 1.5 GiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 3000
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- not yet recorded
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 3000 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then AppFlowy. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the AppFlowy docs page.
Deploy AppFlowy your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy AppFlowy from the CLI
levelrail-cli templates deploy appflowy --name my-appflowy Deploy AppFlowy with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/appflowy/deploy AppFlowy configuration
AppFlowy services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| admin_frontend | appflowyinc/admin_frontend:0.9.149 | 3000 | none |
| appflowy_cloud | appflowyinc/appflowy_cloud:0.9.149 | none | none |
| gotrue | appflowyinc/gotrue:0.9.149 | none | none |
| minio | ghcr.io/coollabsio/minio:RELEASE.2025-10-15T17-29-55Z | none | appflowy_minio_data -> /data |
| postgres | pgvector/pgvector:pg16 | none | appflowy_postgres_data -> /var/lib/postgresql/data |
| redis | redis:7-alpine | none | appflowy_redis_data -> /data |
AppFlowy environment variables
| Variable | Service | Value |
|---|---|---|
| APPFLOWY_BASE_URL | admin_frontend | Preset by the template |
| APPFLOWY_GOTRUE_BASE_URL | admin_frontend | Preset by the template |
| APPFLOWY_ACCESS_CONTROL | appflowy_cloud | Preset by the template |
| APPFLOWY_BASE_URL | appflowy_cloud | Preset by the template |
| APPFLOWY_DATABASE_URL | appflowy_cloud | Generated at deploy |
| APPFLOWY_ENVIRONMENT | appflowy_cloud | Preset by the template |
| APPFLOWY_GOTRUE_BASE_URL | appflowy_cloud | Preset by the template |
| APPFLOWY_GOTRUE_JWT_SECRET | appflowy_cloud | Generated at deploy |
Show all 33 variables
- APPFLOWY_REDIS_URIappflowy_cloudPreset by the template
- APPFLOWY_S3_ACCESS_KEYappflowy_cloudPreset by the template
- APPFLOWY_S3_BUCKETappflowy_cloudPreset by the template
- APPFLOWY_S3_CREATE_BUCKETappflowy_cloudPreset by the template
- APPFLOWY_S3_MINIO_URLappflowy_cloudPreset by the template
- APPFLOWY_S3_SECRET_KEYappflowy_cloudGenerated at deploy
- APPFLOWY_S3_USE_MINIOappflowy_cloudPreset by the template
- RUST_LOGappflowy_cloudPreset by the template
- API_EXTERNAL_URLgotruePreset by the template
- DATABASE_URLgotrueGenerated at deploy
- GOTRUE_ADMIN_EMAILgotruePreset by the template
- GOTRUE_ADMIN_PASSWORDgotrueGenerated at deploy
- GOTRUE_API_HOSTgotruePreset by the template
- GOTRUE_API_PORTgotruePreset by the template
- GOTRUE_DB_DRIVERgotruePreset by the template
- GOTRUE_DISABLE_SIGNUPgotruePreset by the template
- GOTRUE_JWT_SECRETgotrueGenerated at deploy
- GOTRUE_MAILER_AUTOCONFIRMgotruePreset by the template
- GOTRUE_SITE_URLgotruePreset by the template
- GOTRUE_URI_ALLOW_LISTgotruePreset by the template
- MINIO_ROOT_PASSWORDminioGenerated at deploy
- MINIO_ROOT_USERminioPreset by the template
- POSTGRES_DBpostgresPreset by the template
- POSTGRES_PASSWORDpostgresGenerated at deploy
- POSTGRES_USERpostgresPreset by the template
Ports and volumes
- Ports
- 3000
- Volumes
- 3 named mounts: appflowy_minio_data -> /data, appflowy_postgres_data -> /var/lib/postgresql/data, appflowy_redis_data -> /data
AppFlowy FAQ
How much memory does AppFlowy need?
The catalog lists about 1.5 GiB of memory for AppFlowy across its 6 services.
Does AppFlowy run on arm64?
For AppFlowy, an arm64 image is published; amd64 is image published.
Does AppFlowy need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which database does AppFlowy bundle?
The template includes Redis, running as its own service.
Which ports does AppFlowy use?
AppFlowy listens on port 3000 inside the stack.
Where does AppFlowy keep its data?
In named volumes: appflowy_minio_data mounted at /data, appflowy_postgres_data mounted at /var/lib/postgresql/data and appflowy_redis_data mounted at /data.
Can I deploy AppFlowy on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id appflowy for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image appflowyinc/admin_frontend:0.9.149, appflowyinc/appflowy_cloud:0.9.149, appflowyinc/gotrue:0.9.149, ghcr.io/coollabsio/minio:RELEASE.2025-10-15T17-29-55Z, pgvector/pgvector:pg16, redis:7-alpine is what you deploy there.