---
title: "Deploy AppFlowy Cloud"
description: "Collaborative workspace backend with private data and public file URLs."
category: "CMS"
url: https://railway.com/deploy/appflowy-cloud
---

# Deploy AppFlowy Cloud

Collaborative workspace backend with private data and public file URLs.

**[Deploy AppFlowy Cloud on Railway](https://railway.com/template/appflowy-cloud)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/appflowy-cloud/manifest.json

- **Creator:** orenaksakal
- **Category:** CMS
- **Total deploys:** 2

## Template content

### web

- **Image:** appflowyinc/appflowy_web:0.17.1@sha256:dedc8ded52c89500bbc7db48fa80e04687b97e1e2623d687ecaa47b3dae895b4

### storage

- **Source:** orenaksakal/railway-templates
- **Health check:** /minio/health/live
- **Public domain:** Yes

### worker

- **Image:** appflowyinc/appflowy_worker:0.18.3@sha256:68749ee2cac1e08173b1430376e09b99b30be74fb8dc5e7a576a90437702dc58

### postgres

- **Source:** orenaksakal/railway-templates

### redis

- **Image:** redis:7.4@sha256:71da9275c5f3fcb97d0fa0c8c5b36cc995327265420f17a04bfd544f458059f7
- **Start command:** `sh -c 'exec redis-server --bind 0.0.0.0 :: --appendonly yes --maxmemory-policy noeviction --requirepass "$REDIS_PASSWORD"'`

### admin

- **Image:** appflowyinc/admin_frontend:latest@sha256:600f3b98197e41a34e504aaaa4db361cc864682f94b31090daeff5223e4c59e8

### cloud

- **Image:** appflowyinc/appflowy_cloud:0.18.3@sha256:de5e3e1eaaa7482c85cfce6adeb9e8e2a7f41b65c1e7301d5ce06d33b6c80b1e

### gotrue

- **Image:** appflowyinc/gotrue:latest@sha256:647abb4fc8925fc5fee8e2f4dc307559a55751a7b72f3257592959c93c952f5a

### appflowy

- **Source:** orenaksakal/railway-templates
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host AppFlowy Cloud on Railway

AppFlowy Cloud 0.18.3 is paired with worker 0.18.3, the digest-pinned administration service, GoTrue, web client 0.17.1, PostgreSQL/pgvector, Redis, S3-compatible storage, and a routing gateway. Storage receives a public HTTPS endpoint so signed upload/download URLs can be reached by clients.

Release tested on Railway for the workflows below. The unlicensed server reports a one-user and three-guest limit; review upstream licensing before planning a team deployment.

## About Hosting AppFlowy Cloud

The template defines 9 services with pinned container digests, generated deployment secrets, explicit service references, and persistent volumes for stateful dependencies. Repository-backed adapters build from `codex/remaining-template-drafts`. Railway terminates HTTPS for the public endpoints; databases and internal workers have no public TCP proxies. Services initialize independently; wait for database migrations and the cloud API before opening the frontend. Each deployment has its own database and storage resources. Backups are not scheduled by this template, and filesystem-backed services should remain single-replica.

## Common Use Cases

- Host an AppFlowy workspace backend.
- Connect desktop/mobile clients to private workspace data.
- Store and share document attachments through signed object URLs.

## Dependencies for AppFlowy Cloud Hosting

### Deployment Dependencies

| Service | Source | Persistent path |
| --- | --- | --- |
| postgres | `templates/appflowy/Postgres.Dockerfile` | `/var/lib/postgresql/data` |
| redis | `redis:7.4` | `/data` |
| storage | `shared/draft-storage/Dockerfile` | `/data` |
| gotrue | `appflowyinc/gotrue:latest` | `None` |
| cloud | `appflowyinc/appflowy_cloud:0.18.3` | `None` |
| worker | `appflowyinc/appflowy_worker:0.18.3` | `None` |
| admin | `appflowyinc/admin_frontend:latest` | `None` |
| web | `appflowyinc/appflowy_web:0.17.1` | `None` |
| appflowy | `templates/appflowy/Gateway.Dockerfile` | `None` |

Required input before deployment: `gotrue.GOTRUE_ADMIN_EMAIL`

## First Use

Enter your own GOTRUE_ADMIN_EMAIL before deployment. Its generated password creates the GoTrue service administrator, which is separate from an end-user AppFlowy account. Open the application domain and create the end-user account separately. Email autoconfirm starts enabled because no SMTP is supplied. Restrict signup and configure email before inviting users.



## Scope and Limitations

The server enforces upstream self-hosting license limits. In the tested unlicensed 0.18.3 deployment it reports a maximum of one user and three guests. Do not assume unlimited team usage. Optional AI and search services are not included; visible client features may require additional services and licensing. Administration and GoTrue tags are pinned by immutable digest in the template. The storage endpoint uses authenticated access with no anonymous bucket policy.

## Backups and Upgrades

Back up PostgreSQL, object storage, and signing/encryption credentials. Keep backend, worker, frontend, and authentication image digests in the backup manifest. Test restoration into an isolated project before depending on the backup. Image rollback alone does not revert database migrations.

## Validation Scope

A clean Railway installation on cloud/worker 0.18.3 and web 0.17.1 passed signup, workspace/page creation and file roundtrip. A separate deployment was upgraded from 0.9.64 after a database backup. Password signup/login, authenticated workspace lookup, page creation/rename/read, and file upload with byte-identical authenticated download passed. PostgreSQL was restored into a separate database and four object backups were restored into a separate directory with byte comparisons. Restart and volume-preserving redeploy retained page and file data. Two-client content editing/sync, desktop/mobile clients, invitations, imports, email, AI, load testing and complete separate-project disaster recovery are not verified.

## Why Deploy AppFlowy Cloud on Railway?

Railway keeps the services, networking, environment references, deployment logs, and volumes together in one project. This template supplies the tested service configuration. Railway resources and volume storage are billed separately from external email, model, and other service providers. No deployment cost or revenue estimate has been measured.

## Support and Upstream

[Upstream source and release](https://hub.docker.com/r/appflowyinc/appflowy_cloud/tags). This is an independent community integration; upstream licenses, trademarks, and paid-feature restrictions remain in effect. See the [draft readiness record](https://github.com/orenaksakal/railway-templates/blob/codex/remaining-template-drafts/DRAFTS.md). Report issues with redacted logs and image versions; never share credentials.


## Similar templates

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

Open this page in a browser: https://railway.com/deploy/appflowy-cloud
