
Deploy Immich (Self-Hosted Google Photos)
Self-hosted photo & video backup, a Google Photos alternative.
MachineLearning
Just deployed
/cache
Just deployed
/data
Redis
Just deployed
Just deployed
/var/lib/postgresql/data
Deploy and Host Immich on Railway
Immich is an open-source, self-hosted photo and video backup solution and a privacy-first alternative to Google Photos. This template deploys the full Immich stack on Railway with generated secrets, private networking, and persistent volumes.
About Hosting Immich
This template runs the complete Immich stack: the server (web UI, API, and background workers) on port 2283, a CPU machine-learning service for smart search and face recognition, a Valkey queue, and the required VectorChord/pgvecto-rs PostgreSQL database. Services communicate over Railway's private network, all secrets are generated automatically, and the photo library, model cache, and database each sit on persistent volumes so nothing is lost across redeploys.
Common Use Cases
- Automatic mobile photo and video backup you fully control
- Browse your library by timeline, albums, places, and people
- CLIP-powered smart search and face recognition
Dependencies for Immich Hosting
- A PostgreSQL database with the VectorChord/pgvecto-rs extensions (included)
- A Valkey/Redis instance for the job queue (included)
- A CPU machine-learning service for smart search (included)
Deployment Dependencies
- Immich source: https://github.com/immich-app/immich
- Documentation: https://immich.app/docs
Why Deploy Immich on Railway?
Railway is a single platform to deploy your whole stack without managing configuration, and it scales as your library grows. Deploy Immich in a few clicks and keep your photos on infrastructure you control. Note: machine learning runs CPU-only on Railway, so smart-search indexing and face detection are slower than on a GPU and the first model download takes a few minutes.
Template Content