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_your photos and videos (set in .env)LOCATION - Database fileson a local SSD, not a network share
./docker-compose.yml and .envimmich-app
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
| Ports | 2283/tcp (web page)TrueNAS app web page: 30041/tcp |
|---|---|
| Memory | 6 GB minimum, 8 GB recommendeddocs.immich.app/install/requirements read 25 Nov 2026 |
| CPU | 2 cores minimum, 4 cores recommendeddocs.immich.app/install/requirements read 25 Nov 2026 |
| Disk | No 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 |
| Licence | AGPL-3.0 |
| TrueNAS | Not supported by its team on TrueNAS |
| Project page | immich-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.
- WARNINGDo not run these steps on a server with a public IP address. Anyone on the internet could then reach the apps.
- WARNINGDo not forward these ports on your router, unless a step tells you to. The ports would then be open to the internet.
- WARNINGDo not trust ufw to close a port that Docker opens. Docker bypasses the ufw rules. Read the Docker page on firewalls.
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.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldType this command to make the folder.
mkdir ./immich-appType this command to enter the folder.
cd ./immich-appType this command to get the compose file.
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.ymlType this command to get the .env file.
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.envEdit the file .env. Set UPLOAD_LOCATION and DB_PASSWORD.
Remove the # before TZ and set your time zone in the file .env.
Type this command to start Immich.
docker compose up -dOpen http://<server address>:2283 in a browser.
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.
Open Apps > Configuration > Settings. Select the community checkbox. Click Save.
Open Apps > Discover Apps.
Apps > Discover Apps > search 'immich' > Install (train: community)Search for 'immich'.
Click Install.
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.
Create a Debian VM in Proxmox VE.
Set the CPU type of the VM to x86-64-v2 or better.
Sign in to the VM.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldType this command to make the folder.
mkdir ./immich-appType this command to enter the folder.
cd ./immich-appType this command to get the compose file.
wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.ymlType this command to get the .env file.
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.envEdit the file .env. Set UPLOAD_LOCATION and DB_PASSWORD.
Remove the # before TZ and set your time zone in the file .env.
Type this command to start Immich.
docker compose up -dOpen http://<server address>:2283 in a browser.
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.