I was paying for 200 GB of cloud photos that I only ever look at on my phone. This weekend I moved everything to a small server at home running Immich, an open-source Google Photos alternative. Here is exactly what I did.
What you need
- Done: A mini PC or old laptop with 8 GB of RAM (I used a second-hand Intel N100 box)
- Done: A 2 TB external SSD for the library
- Done: Ubuntu Server 24.04 on a USB stick
- Done: About three hours, mostly waiting for uploads

Steps
- Install Ubuntu Server, turn on OpenSSH during setup, and give the box a fixed IP in your router settings.
- Install Docker with the official script: curl -fsSL https://get.docker.com | sh
- Mount the SSD at /srv/photos and add it to /etc/fstab so it survives a reboot.
- Download Immich’s docker-compose.yml and example.env into a folder called immich-app, and rename the second one to .env.
- In .env, set UPLOAD_LOCATION=/srv/photos and change DB_PASSWORD to something long.
- Start it with docker compose up -d, open http://your-server-ip:2283 and create the admin account.
- Install the Immich app on your phone, point it at the server and turn on backup. Leave the phone on charge and Wi-Fi overnight.
What I’d do differently
- Keep the database on the internal drive, not the SSD. It’s noticeably faster.
- Set up a second backup on day one. I now run a weekly rsync to a drive at my parents’ place.
- Use Tailscale instead of opening ports, so the app works away from home without exposing the server.