Self-Host Immich with Docker Compose
Immich is a blazing-fast, self-hosted photo and video management system built directly to replace Google Photos. Includes seamless iOS/Android background sync, multi-user libraries, object detection, and hardware-accelerated transcoding.
Minimum Hardware Requirements
version: '3.8'
services:
immich:
image: ghcr.io/immich-app/immich-server:release
container_name: immich
restart: unless-stopped
ports:
- "2283:2283"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- immich_data:/data
volumes:
immich_data:
driver: local
docker-compose.yml and run:
docker compose up -d
Key Environment Variables
Recommended baseline environment configuration for this container
| Variable Name | Default / Recommended Value |
|---|---|
| UPLOAD_LOCATION | ./upload |
| IMMICH_VERSION | release |
| DB_PASSWORD | postgres_secret_key |
| DB_USERNAME | postgres |
| DB_DATABASE_NAME | immich |
VPS RAM & Server Sizing Calculator
Planning to run Immich alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces Google Photos
Proprietary cloud photo and video storage with monthly subscription tiers and automated AI data scanning.
More Media Apps View All →
Compare Immich
Benchmark specs head-to-head with other open-source alternatives
Compare Immich Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Immich.