Immich
Self-hosted Google Photos alternative with AI-powered face recognition, automatic tagging, and mobile app backup.
Docker Compose Example
immich-server:
image: ghcr.io/immich-app/immich-server:release
container_name: personal-immich_server
volumes:
- /path/to/photos:/data
- /etc/localtime:/etc/localtime:ro
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
container_name: personal-immich_machine_learning
volumes:
- model-cache:/cache # AI model storage
restart: always
redis:
image: docker.io/valkey/valkey:8-bookworm
container_name: personal-immich_redis
volumes:
- redis_data:/data
restart: always
database:
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 # Special Postgres with vector extensions
container_name: personal-immich_postgres
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: postgres
POSTGRES_DB: immich
POSTGRES_INITDB_ARGS: '--data-checksums'
volumes:
- /path/to/database:/var/lib/postgresql/data
restart: always