Levelrail
Skip to content

Self-host AppFlowy with Docker ​

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

This page describes the Levelrail template for AppFlowy (Productivity). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.appflowy.io/docs/documentation/appflowy-cloud.

Recommended memory: about 1536 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
admin_frontendappflowyinc/admin_frontend:0.9.1493000none
appflowy_cloudappflowyinc/appflowy_cloud:0.9.149nonenone
gotrueappflowyinc/gotrue:0.9.149nonenone
minioghcr.io/coollabsio/minio:RELEASE.2025-10-15T17-29-55Znone
appflowy_minio_data -> /data
postgrespgvector/pgvector:pg16none
appflowy_postgres_data -> /var/lib/postgresql/data
redisredis:7-alpinenone
appflowy_redis_data -> /data

Environment variables ​

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

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy AppFlowy with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select AppFlowy. Review the Compose body and deploy.

With the CLI:

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

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.