Deploy CryptPad | Encrypted Docs, Sheets & Slides, Google Docs Alternative
End-to-end encrypted office suite. Docs, sheets and slides, ready to edit
CryptPad
Just deployed
/data
Sandbox
Just deployed
Deploy and Host CryptPad on Railway
CryptPad is an end-to-end encrypted office suite: documents, spreadsheets, presentations, rich text, kanban, forms and whiteboards, edited together in real time. Everything is encrypted in the browser, so the server stores only data it can't read. This template wires up the two domains CryptPad requires and includes the office editors.
About Hosting CryptPad
Two services and one volume. CryptPad holds the app and all data. Sandbox is a small proxy that gives CryptPad its second domain.
- The sandbox domain is already set up. CryptPad runs its editors on a separate domain, so a malicious document can't reach your account's keys. It refuses to work without one, which is the usual reason a CryptPad deploy fails. Both addresses are configured for you.
- Docs, Sheets and Slides included. The office editors are normally a separate download of about 600 MB. Here they are built into the image, so they work on first open and a redeploy doesn't fetch them again.
- Nobody can claim your instance. The first admin needs a generated token, so opening the URL first gets a stranger nothing.
- Sized for small plans. One server node per level instead of upstream's two, about 270 MB at idle.
Common Use Cases
- A private alternative to Google Docs or Microsoft 365, for a team or a family
- Sharing sensitive documents with clients, without the host being able to read them
- Encrypted forms and polls
- Real-time notes, kanban boards and whiteboards
Dependencies for CryptPad Hosting
- Nothing external. No database: CryptPad stores encrypted files on the volume.
Deployment Dependencies
Implementation Details
First steps
- In the CryptPad service's Variables, open
CRYPTPAD_ADMIN_SETUP_URL. The same link is in the deploy logs until an admin exists. - Create your account. Keep the password safe: it encrypts your data, and nobody can reset it.
- Follow the setup screens. They let you close registration, which you'll want on a private instance. Otherwise anyone with the URL can sign up.
Storage limits. New accounts get 50 MB and uploads stop at 20 MB. Raise both in the Admin panel, and grow the volume to match.
Custom domains. Add one to each service, then update CRYPTPAD_ORIGIN and CRYPTPAD_SANDBOX_ORIGIN. The two must stay different. Changing the main domain means links shared earlier stop working.
Licences. CryptPad and its office components are AGPL-3.0. Deploying this template accepts the licence terms of the office components, which are installed at build time.
Why Deploy CryptPad 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 CryptPad 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.
Template Content
CryptPad
two-workspaces/cryptpad-officeSandbox
caddy:2.11.7-alpine