---
title: "Deploy Ente"
description: "End-to-end encrypted photo storage: API, Photos web app, bucket, Postgres"
category: "Storage"
url: https://railway.com/deploy/ente-1
---

# Deploy Ente

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

**[Deploy Ente on Railway](https://railway.com/template/ente-1)**

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

- **Creator:** Agaz Self-Host
- **Category:** Storage

## Template content

### Albums https://raw.githubusercontent.com/homarr-labs/dashboard-icons/d4b500dc40a8e1043b1581cabb7208892cf35472/png/ente-photos.png

- **Source:** https://github.com/aalfath/ente-railway-template
- **Health check:** /
- **Public domain:** Yes

### Museum https://raw.githubusercontent.com/homarr-labs/dashboard-icons/d4b500dc40a8e1043b1581cabb7208892cf35472/png/ente-photos.png

- **Source:** https://github.com/aalfath/ente-railway-template
- **Health check:** /ping
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Photos https://raw.githubusercontent.com/homarr-labs/dashboard-icons/d4b500dc40a8e1043b1581cabb7208892cf35472/png/ente-photos.png

- **Source:** https://github.com/aalfath/ente-railway-template
- **Health check:** /
- **Public domain:** Yes

## Buckets

- **Storage**

## Documentation

# 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

* [Ente on GitHub](https://github.com/ente-io/ente)
* [Ente self-hosting docs](https://ente.com/help/self-hosting/)
* [Template repo: aalfath/ente-railway-template](https://github.com/aalfath/ente-railway-template)

### 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.



## Similar templates

- [RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set](https://railway.com/deploy/rustfs-or-just-updated-s3-object-store-p) — S3-compatible object store, keys and public URL preset, volume kept
- [TimescaleDB](https://railway.com/deploy/timescaledb-railway-template) — A PostgreSQL-based time-series database for analytics on Railway.
- [Neo4j 2026.10 Community](https://railway.com/deploy/neo4j-202610-community) — Neo4j graph database with APOC, Browser, Bolt TCP proxy and a volume

Open this page in a browser: https://railway.com/deploy/ente-1
