Railway

Deploy Immich

Open source alternative to google photos. Demo for myownsuite.org

Deploy Immich

Immich-valkey

rpuls/my-own-suite

Just deployed

/data

Just deployed

/usr/src/app/upload

Immich-postgres

rpuls/my-own-suite

Just deployed

/var/lib/postgresql/data

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

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.

ServicePurposePort
immich-serverAPI and web UI2283
immich-machine-learningFacial recognition and smart search3003
immich-postgresPostgreSQL 14 + VectorChord5432
immich-valkeyRedis-compatible cache6379
  • 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

More templates in this category

View Template
Rocky Linux
[Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
29
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51