Deploy Ente

End-to-end encrypted photo storage: API, Photos web app, bucket, Postgres

Deploy Ente

/var/lib/postgresql/data

Storage

Bucket

Just deployed

Deploy and Host Ente on Railway

Ente is an open-source, end-to-end encrypted cloud for your photos and videos, an alternative to Google Photos and iCloud Photos. Files are encrypted on your device before upload, so the server only stores ciphertext. The same server also backs Ente Auth, Ente's open-source two-factor authenticator app.

About Hosting Ente

Hosting Ente means running museum, Ente's Go API server, with a Postgres database for accounts and metadata and S3-compatible object storage for the encrypted files, plus the Photos web app and the public Albums app. This template deploys all of it: museum, Photos and Albums are built from a public GitHub repo that pins the official Ente images by commit and digest, Postgres keeps its data on a volume, and a Railway Bucket holds your files. Museum's keys and the database password are generated per deployment, and museum sets the bucket's CORS rule itself, so browser uploads work right away. Nothing needs to be filled in before deploying.

Common Use Cases

  • Private, end-to-end encrypted backup of your phone's photos and videos
  • A family photo library you control, with shared and public albums
  • A self-hosted sync server for the Ente Auth 2FA app

Dependencies for Ente Hosting

  • PostgreSQL (accounts, collections and file metadata)
  • S3-compatible object storage (the encrypted photos and videos)

Deployment Dependencies

Implementation Details

After the deploy:

  1. Open the Photos service URL and choose "Don't have an account?" to sign up. The first account is the admin.
  2. The template sets up no email, so find the 6-digit verification code in the Museum deploy logs (Verification code: 123456). To send real emails, add ENTE_SMTP_HOST, ENTE_SMTP_PORT, ENTE_SMTP_USERNAME, ENTE_SMTP_PASSWORD and ENTE_SMTP_EMAIL to Museum.
  3. In the Ente mobile or desktop app, tap the first screen 7 times (or open developer settings) and enter the Museum URL, for example https://YOUR-MUSEUM-DOMAIN, as the server endpoint.
  4. New accounts get 10 GB. Raise quotas with the Ente CLI admin commands.
  5. To stop strangers from signing up, set ENTE_INTERNAL_DISABLE_REGISTRATION=true on Museum after creating your accounts.

Keep MUSEUM_ENCRYPTION_KEY_HEX and MUSEUM_HASH_KEY_HEX unchanged: they protect stored account data. Updates arrive as Railway update notices when the template repo bumps the pinned images; read its CHANGELOG.md before applying one.

Why Deploy Ente 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 Ente 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

More templates in this category

View Template
RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set
S3-compatible object store, keys and public URL preset, volume kept

SuperSlowSloth
0
View Template
TimescaleDB
A PostgreSQL-based time-series database for analytics on Railway.

Rakit
1
View Template
Neo4j 2026.10 Community
Neo4j graph database with APOC, Browser, Bolt TCP proxy and a volume

My Projects
0