Homelab Plan

Files and photos

How to install Immich on your home server

Immich backs up photos and videos from your phone to your own server. The web page is on port 2283. It has steps for Debian, TrueNAS and Proxmox.

What the steps install, and how it connects

Connects to it

  • Phone app2283/tcp
  • Browser2283/tcp

Your server, in Docker

Immich containers

From the project’s compose file, downloaded in step 8

  • Immich web page and app server
  • Machine learning (can be off)
  • Database
  • 2283/tcpweb pageopened by the project’s compose file

Its data on the server

  • UPLOAD_LOCATIONyour photos and videos (set in .env)
  • Database fileson a local SSD, not a network share
  • ./immich-appdocker-compose.yml and .env

On TrueNAS the app’s web page is on 30041/tcp. Drawn from step 8 of the Debian + Docker steps. Ports are the ones in those steps and in the table below.

The diagram in words

The Debian + Docker steps install the Immich containers from the project’s compose file, with port 2283/tcp. Connects to it: Phone app on 2283/tcp; Browser on 2283/tcp. Its data: UPLOAD_LOCATION (your photos and videos (set in .env)); Database files (on a local SSD, not a network share); ./immich-app (docker-compose.yml and .env).

What it needs

Ports2283/tcp (web page)TrueNAS app web page: 30041/tcp
Memory6 GB minimum, 8 GB recommendeddocs.immich.app/install/requirements read 25 Nov 2026
CPU2 cores minimum, 4 cores recommendeddocs.immich.app/install/requirements read 25 Nov 2026
DiskNo total size is stated. The database files are usually 1 to 3 GB and belong on a local SSD.docs.immich.app/install/requirements read 25 Nov 2026
LicenceAGPL-3.0
TrueNASNot supported by its team on TrueNAS
Project pageimmich-app/immich

Ports are the project's defaults. Memory and disk figures are the project's own, with the page and the date read. Estimates only.

The one thing to know before you start

The project says at least 6 GB of RAM (8 GB is better) and 2 CPU cores. With less than 6 GB, run it with machine learning off. Keep the database on a local SSD, not a network share, and use only letters and digits in the database password.

Install steps

These steps follow the project's own pages and have not been tried on real hardware yet.

They start from a server that runs Docker: set up an old laptop or PC first. Docker or bare metal for Immich: what each method needs.

Debian + Docker

checking Some details are still being checked.

  • WARNINGUse at least 6 GB of RAM (8 GB is better) and 2 CPU cores (4 are better).
  • WARNINGKeep the database files on a local SSD. Immich does not support a network share for them.
  • WARNINGIf the server has less than 6 GB of RAM, run Immich with machine learning off.
  • WARNINGUse only A-Z, a-z and 0-9 in DB_PASSWORD. Special characters and spaces fail.
  • WARNINGUse the docker compose plugin. The old docker-compose and the Debian docker.io package fail.
  • WARNINGDo not use Docker in an LXC container. Use a full VM.
  1. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  2. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  3. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  4. Log out and log in again so that the group change takes effect.

  5. Type this command to test Docker.

    docker run hello-world
  6. Type this command to make the folder.

    mkdir ./immich-app
  7. Type this command to enter the folder.

    cd ./immich-app
  8. Type this command to get the compose file.

    wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
  9. Type this command to get the .env file.

    wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
  10. Edit the file .env. Set UPLOAD_LOCATION and DB_PASSWORD.

  11. Remove the # before TZ and set your time zone in the file .env.

  12. Type this command to start Immich.

    docker compose up -d
  13. Open http://<server address>:2283 in a browser.

  14. Register the admin user.

TrueNAS app

checking Some details are still being checked.

  • WARNINGThis app is in the community train. The community supports it, and TrueNAS hides it by default.
  • WARNINGDo not ask the Immich team for help with this app. The Immich team does not support the TrueNAS app.
  • WARNINGUpdate TrueNAS to version 24.10.2.2 or newer before you start.
  1. Open Apps > Configuration > Settings. Select the community checkbox. Click Save.

  2. Open Apps > Discover Apps.

    Apps > Discover Apps > search 'immich' > Install (train: community)
  3. Search for 'immich'.

  4. Click Install.

  5. Open http://<server address>:30041 in a browser.

Proxmox VE (VM + Docker)

checking Some details are still being checked.

  • WARNINGUse a VM, not an LXC container. Proxmox says: "nesting containers inside a Proxmox QEMU VM remains a recommended practice".
  • WARNINGDo not use an LXC container for Immich. Immich says Docker in LXC containers is not recommended.
  • WARNINGUse at least 6 GB of RAM (8 GB is better) and 2 CPU cores (4 are better).
  • WARNINGKeep the database files on a local SSD. Immich does not support a network share for them.
  • WARNINGIf the server has less than 6 GB of RAM, run Immich with machine learning off.
  • WARNINGUse only A-Z, a-z and 0-9 in DB_PASSWORD. Special characters and spaces fail.
  • WARNINGUse the docker compose plugin. The old docker-compose and the Debian docker.io package fail.
  • WARNINGDo not use Docker in an LXC container. Use a full VM.
  1. Create a Debian VM in Proxmox VE.

  2. Set the CPU type of the VM to x86-64-v2 or better.

  3. Sign in to the VM.

  4. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  5. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  6. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  7. Log out and log in again so that the group change takes effect.

  8. Type this command to test Docker.

    docker run hello-world
  9. Type this command to make the folder.

    mkdir ./immich-app
  10. Type this command to enter the folder.

    cd ./immich-app
  11. Type this command to get the compose file.

    wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
  12. Type this command to get the .env file.

    wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
  13. Edit the file .env. Set UPLOAD_LOCATION and DB_PASSWORD.

  14. Remove the # before TZ and set your time zone in the file .env.

  15. Type this command to start Immich.

    docker compose up -d
  16. Open http://<server address>:2283 in a browser.

  17. Register the admin user.

Licences and credits: Sources and licences.

What will it cost to run?

This page gives no power figure for Immich. The planner adds up the box it runs on, where the power goes splits that figure part by part, and the guide gives idle watts and a yearly cost at your own price.

Plan a photo and file server in the planner, or read the home server hardware guide.

Related apps

All 18 apps