Immich setup on Ubuntu with Docker and Caddy

Learn to install Immich with Docker Compose, configure Caddy on port 2283, and use server-side photo search, face detection and OCR.

Player not loading? Watch on YouTube

This tutorial installs Immich, an open source photo library presented as a self-hosted alternative to Google Photos and Apple iCloud. It covers a home server or rented server, with Ubuntu as the demonstrated platform and Debian mentioned as another option. The speaker recommends at least two CPU cores, 4 GB of RAM and 20 GB of SSD storage, plus space for photos.

The setup starts with SSH access, package updates and optional DNS records for a subdomain. Docker Community Edition and the Compose plugin run the application. The walkthrough downloads Immich's Compose and environment files, then configures the upload location, time zone and database password before starting the containers. A separate storage disk can hold uploads through its mount point.

Caddy forwards requests to port 2283. The tutorial covers access by IP address and by domain name, with automatic Let's Encrypt certificates demonstrated for the domain setup.

After creating an administrator account, the speaker uploads photos and checks processing queues. The local AI features discussed include smart search, face detection and OCR on the server; processing takes time after upload. The walkthrough also covers privacy settings, mobile apps and basic cropping, rotation and mirroring. It repeats the setup screen's backup advice: keep three copies of the data, including one offsite.