Deploy Ente
End-to-end encrypted photo storage: API, Photos web app, bucket, Postgres
Just deployed
Just deployed
Just deployed
/var/lib/postgresql/data
Just deployed
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:
- Open the Photos service URL and choose "Don't have an account?" to sign up. The first account is the admin.
- 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, addENTE_SMTP_HOST,ENTE_SMTP_PORT,ENTE_SMTP_USERNAME,ENTE_SMTP_PASSWORDandENTE_SMTP_EMAILto Museum. - 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. - New accounts get 10 GB. Raise quotas with the Ente CLI admin commands.
- To stop strangers from signing up, set
ENTE_INTERNAL_DISABLE_REGISTRATION=trueon 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
Storage
Bucket
