Nextcloud or Immich: both keep phone photos on a server you choose. They do different jobs. Nextcloud is a cloud: files, calendar, contacts, and Talk if you turn it on. Photos sit next to documents. Immich is a phone archive: a date timeline, automatic upload, faces, and search.
On Proxmox you can install Immich with one command: Immich script · Proxmox scripts catalog (RU mirrors / GitFlic).
Below is how they differ and when each one makes sense. The Nextcloud All-in-One install already has its own article. The Immich Docker install is at the end of this one.
Both Nextcloud and Immich usually live on your own disk or a NAS. If you are picking the shelf as well as the software, see how to choose a NAS (HDDs, M.2, UPS).
In short
| Nextcloud | Immich | |
|---|---|---|
| Job | Cloud for files and a family | Photo archive from a phone |
| Auto-upload | In the Nextcloud app | The main job of the app |
| Faces and search | Not in base All-in-One; separate apps | Built in, and they need the machine-learning container |
| Files, calendar, chat | Yes | No, photos and video only |
| Domain | Required | Required to open the archive from the internet by name |
| Memory | From 4 GB; 6–8 GB for Talk and office | From 6 GB, 8 GB is better. On 4 GB, only with machine learning off |
| Server can read the photos | Yes | Yes, there is no end-to-end encryption |
| Clients | Nextcloud app and the website | iPhone, Android, the server website, and the CLI |
| Where it runs | A VPS with Docker | Docker, Proxmox, TrueNAS, Synology, Unraid, QNAP |
Nextcloud — when photos live next to the other files
The Nextcloud phone app uploads new photos to the server on its own. In the cloud they are ordinary files in a folder: you can see them from a computer, share a link, and keep them next to documents. Calendar, contacts, and Talk, if you enable it, use the same address.
Face and scene search is not part of base All-in-One. That needs extra apps, and those apps need more memory. A family disk and shared folders do not require a search for “beach in 2019”.
A domain is required: without it, AIO does not set up proper HTTPS for the clients. Plan on 4 GB of RAM, and 6–8 GB if you want Talk and an office suite in the browser. The install is in the article Nextcloud on your own server.
The server stores files so the machine administrator can see them. It is a disk, not a sealed envelope.
Immich — when you want a phone archive
Immich is a timeline in place of Google Photos. The phone uploads new pictures and video on its own. The server has dates, albums, a map, faces, and search.


Clients
On a computer you open Immich in the browser. There is no official Windows or Linux desktop app. On a phone you install a client and point it at your server.
- App Store — iPhone and iPad. The same app installs on a Mac with Apple silicon.
- Google Play — Android.
- FUTO F-Droid — the build the Immich docs link to.
- F-Droid — the same app in the main catalog.
- APK from GitHub. Obtainium takes its config from the Utilities page of a server that is already running.
- Immich CLI — upload folders from a computer.
Recognition is a separate container. The Immich requirements ask for at least 6 GB of RAM, preferably 8 GB and 4 cores. On a 4 GB machine the project says to turn machine learning off: the archive stays, face search does not. Keep the Postgres database on a local disk, not a network share.
A domain is required if you open the archive from the internet by name. Put HTTPS in front of it instead of leaving port 2283 open. There is no end-to-end encryption: anyone with access to the server can read the photos on disk.
Immich has no shared document folders, calendar, or chat. It is photos and video only.
Where to install it
The usual path is Linux and Docker Compose. The same server also runs in a Proxmox virtual machine and on a NAS.
- Docker Compose — the method the project treats as the main one. The steps are in “Immich with Docker”.
- Proxmox. The Immich requirements say to use a full virtual machine with Docker. Docker inside LXC is not recommended. A third-party community-scripts installer puts Immich in a Proxmox container — that is not the official guide.
- TrueNAS — the Community catalog app, for Community Edition 24.10 and later.
- Synology — Container Manager in DSM. An Immich package is also in SynoCommunity.
- Unraid and QNAP — community guides in the Immich docs.
- Portainer and Kubernetes — Kubernetes has an official Helm chart.
The docs do not recommend Windows or macOS: Docker is a worse experience there. If you still try, use Docker Desktop, and do not put the Postgres database on NTFS.
What to pick: Nextcloud or Immich
A family disk, documents, calendar, and chat in one place, with photos as part of that disk. Pick Nextcloud.
The phone should file pictures into a timeline, and you want to find them by face. Pick Immich and leave memory for recognition.
Both stacks do not fit on a 4 GB VPS once recognition is on: Immich alone asks for 6 GB. Two services make sense when the disk is large and each one has enough memory.
Jellyfin is a different job. It is films and series, not phone photo upload.
If you install it yourself
Nextcloud All-in-One needs a domain, Docker, and the components you actually want. The steps are in the All-in-One article. A turnkey result is the Nextcloud setup service: files, calendar, and Talk on your VPS.
On a VPS, Immich runs with Docker Compose. Below is Docker itself and the Immich start on Ubuntu or Debian: a local disk for the database, HTTPS in front, and at least 6 GB if you want recognition. Proxmox, TrueNAS, Synology, Unraid, and QNAP stay in “Where to install it”.
Immich with Docker
The stack is four containers. immich-server serves the site and API on port 2283. immich-machine-learning finds faces and objects. Valkey holds the queue. Postgres stores the database, and only on a local disk.
Docker Engine, containerd, and Compose
The docker.io package from Ubuntu and Debian is the wrong Docker: Immich’s compose file does not start with it. Remove the distro packages if they are installed, add Docker’s repository, then install five packages: docker-ce is the engine, docker-ce-cli is the docker command, containerd.io is the runtime the containers use, docker-buildx-plugin builds images, and docker-compose-plugin provides docker compose. Immich uses the engine, containerd, and Compose. Buildx is part of the official set and these steps do not call it.
Ubuntu:
sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-compose-v2 docker-doc docker-buildx podman-docker containerd runc | cut -f1)
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Debian. Same packages, different repository address and Suites field:
sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-compose-v2 docker-doc docker-buildx podman-docker containerd runc | cut -f1)
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
If apt remove says none of those packages are installed, that is fine. Check the install:
sudo docker run hello-world
sudo docker compose version
hello-world downloads a test image and exits. The second command prints Compose v2. The hyphenated docker-compose command is no longer the one to use. The commands below use sudo so they work in the same SSH session. To run docker without sudo, add your user to the group and log in again: sudo usermod -aG docker $USER.
Immich files
A directory and the two files from the current release. Do not take the compose file from the main branch on GitHub: it can disagree with the published release. These are the same files as in the Immich guide.
sudo mkdir -p /opt/immich
cd /opt/immich
sudo curl -fsSL -o docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
sudo curl -fsSL -o .env https://github.com/immich-app/immich/releases/latest/download/example.env
What to change in .env
In .env, set the photo directory, the database password, and the time zone. Leave IMMICH_VERSION=v3: that tracks the current v3 release.
UPLOAD_LOCATION=./library
DB_DATA_LOCATION=./postgres
DB_PASSWORD=postgres
# TZ=Europe/London
IMMICH_VERSION=v3
UPLOAD_LOCATION=./library is the photo folder next to the compose file, so /opt/immich/library. Point it at a full path if the photos belong on another disk. DB_DATA_LOCATION is the Postgres files. That has to be a local disk on the server, not a network share. Replace DB_PASSWORD with your own letters and digits, with no spaces or symbols: Docker parses this value. Uncomment the time zone, for example TZ=Europe/London. A 4 GB machine cannot run this full stack with recognition. The commands below start the full set, which needs at least 6 GB.
Start
cd /opt/immich
sudo docker compose up -d
sudo docker compose ps
up -d downloads the images and starts four containers in the background: immich-server (the site and API, port 2283), immich-machine-learning (faces and search), Valkey (the compose service is named redis; it is the queue), and Postgres. In ps, each one should be running or healthy.
Open http://server-address:2283. The first user to register becomes the admin. The button on that page is Getting Started. Users, the storage template, and the phone app are in the post-install steps.
The ports line in docker-compose.yml publishes 2283 on every interface. A published Docker port bypasses ufw. If the reverse proxy is on the same server, change the line to 127.0.0.1:2283:2283 and expose only HTTPS. Do not leave raw port 2283 open to the internet. If Compose complains about healthcheck.start_interval, the engine is older than 25: comment that line out in the database service. A fresh install from Docker’s repository does not hit this.
Questions
How is Nextcloud different from Immich for phone photos?
Nextcloud stores pictures as ordinary files next to documents, a calendar, and Talk. Immich is a timeline with auto-upload, faces, and search. Immich has no calendar and no chat.
How much memory does Immich need?
The project asks for at least 6 GB, preferably 8 GB and 4 cores. On a 4 GB machine you can keep the archive and turn recognition off.
How do you install Immich with Docker?
Use Docker Engine and the Compose plugin from Docker’s repository, not the distro docker.io package. Put the release files in /opt/immich and run docker compose up -d. The Ubuntu and Debian commands are in the section above.
Which Immich clients are there?
On a phone: the App Store, Google Play, FUTO F-Droid, F-Droid, and the GitHub APK. On a computer you open the server website or upload folders with the Immich CLI. There is no official Windows or Linux desktop app.
Other work on your own server is in the service catalog.
For searchable scans and PDFs next to your cloud (not instead of it), see Paperless-ngx: self-hosted document archive with OCR.
No email, no trackers — just the update feed.








