
Deploy Immich
Open source alternative to google photos. Demo for myownsuite.org
Immich-valkey
Just deployed
/data
Immich
Just deployed
/usr/src/app/upload
Immich-postgres
Just deployed
/var/lib/postgresql/data
Immich-ml
Just deployed
Deploy and Host Immich on Railway
Immich is a high-performance, self-hosted photo and video backup platform, an open-source alternative to Google Photos and iCloud Photos. It automatically backs up your phone's camera roll, then organizes everything with facial recognition, object and scene detection, albums, and lightning-fast search, all while keeping every image on infrastructure you control instead of a big-tech cloud.
About Hosting Immich
Immich is not a single container. A working deployment runs four coordinated services: the Immich server (API and web UI), a machine-learning service that powers facial recognition and smart search, a PostgreSQL 14 database with the VectorChord vector extension for similarity search, and a Valkey (Redis-compatible) cache. It also needs persistent storage for the photo library, the database, thumbnails, and the ML model cache, plus generated secrets for the database password and JWT signing. This template wires all of that together on Railway so you don't have to assemble the stack by hand. The machine-learning service performs best on a CPU with AVX2 support, and the first startup takes a few minutes while the database initializes.
Common Use Cases
- Automatic phone photo backup that replaces Google Photos or iCloud Photos, with the original files living on a server you own
- A private family photo library with shared albums, facial recognition, and full-text search across years of images and videos
- A fast, one-click demo to evaluate Immich's complete feature set before committing to self-hosting it long-term on your own hardware
Dependencies for Immich Hosting
- PostgreSQL 14 with the VectorChord vector extension (bundled in this template)
- Valkey 9, a Redis-compatible in-memory cache (bundled)
- An Immich machine-learning service for facial recognition and smart search (bundled)
- Persistent volumes for the photo library, database, thumbnail cache, and ML model cache
Deployment Dependencies
Related Resources
- Self-host Immich on your own hardware with My Own Suite
- Immich self-hosting tutorials and homelab guides on Funkyton
Implementation Details
This template pins Immich to v3.0.2 and exposes only the main server publicly; every other service runs on the private network.
| Service | Purpose | Port |
|---|---|---|
immich-server | API and web UI | 2283 |
immich-machine-learning | Facial recognition and smart search | 3003 |
immich-postgres | PostgreSQL 14 + VectorChord | 5432 |
immich-valkey | Redis-compatible cache | 6379 |
- Health check:
GET /api/server-info/ping - Generated secrets:
DB_PASSWORD,JWT_SECRET - The first administrator account is created directly in the Immich web UI on first launch.
Why Deploy Immich 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 Immich 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.
Own Your Photos Long-Term with My Own Suite
This Railway template exists so you can try Immich in a couple of clicks, without dedicating a machine. When you're ready to truly own your photo library for the long run, self-host Immich with My Own Suite — an open-source private-cloud platform that installs Immich from a signed, version-pinned package with automatic HTTPS, whole-suite backups, and one-click updates. My Own Suite runs on almost anything you control, from a spare mini-PC or old laptop at home to a low-cost VPS, and it hosts Immich alongside file sync, password management, calendars, and office documents, the same apps, without a monthly per-photo bill or your memories being mined for ads.
If you enjoy going deeper on self-hosting, Funkyton publishes hands-on tutorials, Immich tips, and homelab guides that pair perfectly with a My Own Suite setup.
Frequently Asked Questions
Is Immich a good Google Photos alternative? Yes, Immich delivers automatic mobile backup, facial recognition, smart search, and shared albums as fully open-source, self-hosted software, so your photos stay private and portable.
Can I move from this Railway demo to hosting Immich myself? Absolutely. Use this template to evaluate Immich, then run it permanently on hardware you own with My Own Suite, which packages the same Immich stack with backups, HTTPS, and updates handled for you.
What does it cost to self-host Immich? On your own hardware the main cost is electricity; on a small VPS it's typically about $20–25/month — far less than paid cloud photo tiers as your library grows.
Template Content
Immich-valkey
rpuls/my-own-suiteImmich
rpuls/my-own-suiteImmich-postgres
rpuls/my-own-suiteImmich-ml
rpuls/my-own-suite
