Deploy AFFiNE (w/ admin login)

Docs and whiteboards, a Notion and Miro alternative. Your own admin login.

Deploy AFFiNE (w/ admin login)

Just deployed

/data

Just deployed

/root/.affine

Just deployed

/var/lib/postgresql/data

Deploy and Host AFFiNE (w/ admin login) on Railway

AFFiNE is an open-source workspace for docs, whiteboards and databases, an alternative to Notion and Miro. This template creates your administrator account from the deploy form and closes sign-up, so nobody can claim the setup page that the most-deployed AFFiNE templates leave open to the first visitor.

AFFiNE's workspace linked to its private database, live sync and files

About Hosting AFFiNE (w/ admin login)

It runs AFFiNE 0.27.4 from the official image with a private Postgres (pgvector) and Redis, and keeps uploads on a volume. Deploy, open your AFFiNE URL and sign in with the email and password from the deploy form. To add teammates, create their accounts in the admin panel at /admin (Accounts), or open sign-up there in the settings.

Common Use Cases

  • Team wiki and meeting notes
  • Whiteboards for planning sessions
  • Project tracking in databases

Dependencies for AFFiNE (w/ admin login) Hosting

  • PostgreSQL (pgvector)
  • Redis
  • Volume

Deployment Dependencies

Implementation Details

AFFiNE (w/ admin login) architecture

It fits the Free plan: AFFiNE uses about 0.3 GB of a 0.5 GB service, Postgres 0.12 GB and Redis 0.03 GB. Free's 0.5 GB volume limits uploads. Back up Postgres and the AFFiNE volume, which holds uploads and the server's signing key. Email (invitations, password resets) needs SMTP, which Railway allows only on Pro; signing in with a password needs none.

Why Deploy AFFiNE (w/ admin login) on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying AFFiNE (w/ admin login) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Updated 2026-11-29: First release, AFFiNE 0.27.4.

Not affiliated with or endorsed by the AFFiNE team.


Template Content

More templates in this category

View Template
Libredesk - Complete Setup
Complete self-hosted omnichannel customer support desk.

codestorm
2
View Template
Paperless-ngx
Paperless-ngx — document management with OCR and full-text search

INAPP
1
View Template
Instatic CMS - Postgres
Design, build and manage powerful static sites from state-of-the-art CMS

Instatic
169