Self-host AppFlowy on a VPS

A self-hosted, open-source workspace for notes and collaborative knowledge, an alternative to Notion.

levelrail-cli templates deploy appflowy --name my-appflowy

Specification

Status
Listed
Category
Productivity
Services
admin_frontend, appflowy_cloud, gotrue, minio, postgres, redis
Ports
3000
Volumes
3
Memory
about 1.5 GiB
arm64
image published
amd64
image published
Settings to fill in
none
License
not yet recorded

About AppFlowy

A self-hosted, open-source workspace for notes and collaborative knowledge, an alternative to Notion. Runs 6 containers (admin_frontend, appflowy_cloud, gotrue, minio, postgres, redis), with admin_frontend listening on port 3000; data is kept in named volumes.

What it deploys

AppFlowy runs as 6 services in a single Compose app, listening on port 3000, with 3 named volume mounts.

ServiceImageTagPortsVolumes
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

Before you install

  • CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
  • Listed. It is in the catalog. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 3000 directly on the host, so open them in the VPS firewall only if you want that.

Settings and environment

You do not have to fill in anything. 8 secrets are generated at deploy and stored encrypted. Values are never shown here.

ServiceVariableValue
admin_frontendAPPFLOWY_BASE_URLPreset by the template
admin_frontendAPPFLOWY_GOTRUE_BASE_URLPreset by the template
appflowy_cloudAPPFLOWY_ACCESS_CONTROLPreset by the template
appflowy_cloudAPPFLOWY_BASE_URLPreset by the template
appflowy_cloudAPPFLOWY_DATABASE_URLGenerated at deploy
appflowy_cloudAPPFLOWY_ENVIRONMENTPreset by the template
appflowy_cloudAPPFLOWY_GOTRUE_BASE_URLPreset by the template
appflowy_cloudAPPFLOWY_GOTRUE_JWT_SECRETGenerated at deploy
appflowy_cloudAPPFLOWY_REDIS_URIPreset by the template
appflowy_cloudAPPFLOWY_S3_ACCESS_KEYPreset by the template
appflowy_cloudAPPFLOWY_S3_BUCKETPreset by the template
appflowy_cloudAPPFLOWY_S3_CREATE_BUCKETPreset by the template
appflowy_cloudAPPFLOWY_S3_MINIO_URLPreset by the template
appflowy_cloudAPPFLOWY_S3_SECRET_KEYGenerated at deploy
appflowy_cloudAPPFLOWY_S3_USE_MINIOPreset by the template
appflowy_cloudRUST_LOGPreset by the template
gotrueAPI_EXTERNAL_URLPreset by the template
gotrueDATABASE_URLGenerated at deploy
gotrueGOTRUE_ADMIN_EMAILPreset by the template
gotrueGOTRUE_ADMIN_PASSWORDGenerated at deploy
gotrueGOTRUE_API_HOSTPreset by the template
gotrueGOTRUE_API_PORTPreset by the template
gotrueGOTRUE_DB_DRIVERPreset by the template
gotrueGOTRUE_DISABLE_SIGNUPPreset by the template
gotrueGOTRUE_JWT_SECRETGenerated at deploy
gotrueGOTRUE_MAILER_AUTOCONFIRMPreset by the template
gotrueGOTRUE_SITE_URLPreset by the template
gotrueGOTRUE_URI_ALLOW_LISTPreset by the template
minioMINIO_ROOT_PASSWORDGenerated at deploy
minioMINIO_ROOT_USERPreset by the template
postgresPOSTGRES_DBPreset by the template
postgresPOSTGRES_PASSWORDGenerated at deploy
postgresPOSTGRES_USERPreset by the template

Install AppFlowy on a VPS

  1. Install Levelrail on a fresh VPS

    Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.

    curl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Sign in

    Open the setup link, choose a password, then log the CLI in. The CLI install command is curl -fsSL https://levelrail.com/install-cli.sh | sh if the machine does not have it. See Getting started.

    levelrail-cli login --device
  3. Read the template

    Shows the entry, including its full compose.yaml.

    levelrail-cli templates get appflowy
  4. Deploy it

    This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.

    levelrail-cli templates deploy appflowy --name my-appflowy

Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then AppFlowy.

More in Productivity

All Productivity templates