
This article assumes you’ve read my guide on setting up a Jellyfin Media Server. Go read that first before reading this.
In this article I aim to provide a continuation from my definitive beginner-friendly guide to turn an old Windows PC/laptop into a Jellyfin Media Server. We will be setting up Immich so you can use your Windows 10 PC as a private cloud storage for your whole family to store photos and videos that you can acess at home or abroad, instead of having to pay monthly payments to Google or Apple.
You want this flow:
Phone / PC / TV (at home or outside)
↓
https://immich.<YOUR_SERVER'S_DUCKDNS_DOMAIN>.duckdns.org:8443
↓
Caddy (HTTPS reverse proxy)
↓
Immich (<YOUR_SERVER'S_LOCAL_IP>:2283)
Before installing Docker, you need to ensure that Virtualization is enabled. Open Task Manager, go to Performance > CPU, and check that it says “Virtualization: Enabled”. If it says Disabled, then you must perform the following steps to enable it:
Your computer will boot back into Windows normally.
Once you are back in Windows, open Task Manager again to verify that it now says “Virtualization: Enabled”.
Now that you have enabled Virtualization, you need to ensure Windows has turned on its software virtualization layers (the hypervisor platforms). Since Windows doesn’t have them active at boot, Docker can’t seem them.
Install Docker Desktop for Windows AMD64: https://www.docker.com/products/docker-desktop/
During the installation steps, ensure it includes WSL 2 backend.
Open Docker Desktop once installed. If you see an error message saying “WSL needs updating. Your version of Windows Subsystem for Linux (WSL) is too old.”, open Command Prompt and run the following command:
wsl --update
Windows will download and install the latest kernel package for WSL. It should only take about a minute.
Once it says the update is complete, go ahead and open Docker Desktop again. It should now successfully load the main dashboard with a green status indicator in the bottom-left corner. (If you see a “Resume triangle button”, it means the background engine was paused or suspended, just click the “Resume” button and you should see the status indicator turn Green and say “Running”).
Now that Docker Desktop is installed and running, we can setup Immich.
On your HDD (D: Drive), create a new folder named ImmichData (this will be the home for all new uploads), and Pictures (this will be the home of any photos you want to export manually, like from a DSLR Camera).
Open the D:\ImmichData folder and create a subfolder inside named Originals.
On your SSD (C: Drive), create a new folder named immich-app.
Inside the C:\immich-app folder, create a .env file and paste in this text:
# Path to your mass storage hard drive
UPLOAD_LOCATION=D:/ImmichData/Originals
# Postgres configuration (Change this to a strong password of your choice)
DB_PASSWORD=<ENTER-YOUR-PASSWORD-HERE>
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
# Keep the DB files stored on the SSD right here in this folder
DB_DATA_LOCATION=./immich-db
make sure to add your own password to DB_PASSWORD with no < or >.
Also inside C:\immich-app, create a docker-compose.yml file and paste the following text inside:
name: immich
services:
immich-server:
container_name: immich_server
# image: ghcr.io/immich-app/immich-server:release
image: ghcr.io/immich-app/immich-server:v3
volumes:
# 1. System files and timeline layouts on your fast SSD
- ./data:/data
# 2. Main write-access library for new phone uploads on your HDD
- D:/ImmichData/Originals:/data/library
# 3. Your Master Canon/Archive folder on your HDD (Protected as strict Read-Only)
- D:/Pictures:/external-pictures:ro
env_file:
- .env
environment:
TZ: Europe/London
ports:
- 2283:2283
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
# image: ghcr.io/immich-app/immich-machine-learning:release
image: ghcr.io/immich-app/immich-machine-learning:v3
volumes:
# Keeps ML model downloads cached on your fast SSD
- ./model-cache:/cache
restart: always
healthcheck:
disable: false
redis:
container_name: immich_redis
# Immich now uses Valkey due to Redis licensing changes
image: docker.io/valkey/valkey:9@sha256:418652cfb58ef879d4978c33553735d7147016032d5aefaa14c828e611eb9dfd
# image: docker.io/redis:6.2-alpine
healthcheck:
test: redis-cli ping | grep -q PONG || exit 1
restart: always
database:
container_name: immich_database
# The official, highly optimized v3 VectorChord database image
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
# image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: --data-checksums
# Optimized for concurrent IO because the DB folder sits on your SSD
DB_STORAGE_TYPE: SSD
volumes:
# Active database tracking folder remains right here on your C: Drive SSD
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb
restart: always
healthcheck:
disable: false
Open Command Prompt and type:
docker compose up -d
Give the container about 15 seconds to map out the new folder layers, then type this command to verify the status:
docker compose ps
Check the STATUS column, immich_server should show up as Up (healthy), you may have to give it time. If it seems like it’s in a restarting loop, then something likely went wrong. Ensure there is a .immich file inside D:\ImmichData\Originals.
Open your existing Caddyfile, in C:\caddy\.
Replace the old Jellyfin routing block with this:
# New Jellyfin Endpoint
jellyfin.<YOUR_SERVER'S_DUCKDNS_DOMAIN>.duckdns.org:8443 {
bind <YOUR_SERVER'S_LOCAL_IP>
# Use the DNS challenge for SSL certificates
tls {
dns duckdns 152044c1-98ad-4f0c-9fe4-e2a9ebdf3049
}
# Proxy to your local Jellyfin instance
reverse_proxy <YOUR_SERVER'S_LOCAL_IP>:8096
}
# New Immich Endpoint
immich.<YOUR_SERVER'S_DUCKDNS_DOMAIN>.duckdns.org:8443 {
bind <YOUR_SERVER'S_LOCAL_IP>
tls {
dns duckdns 152044c1-98ad-4f0c-9fe4-e2a9ebdf3049
}
reverse_proxy <YOUR_SERVER'S_LOCAL_IP>:2283
}
ensuring to add your server’s local IP, which can be found using the command ipconfig /all in cmd. And add your server’s DuckDNS domain.
You now access Jellyfin via: https://jellyfin.<YOUR_SERVER'S_DUCKDNS_DOMAIN>.duckdns.org:8443.
And Immich via: https://immich.<YOUR_SERVER'S_DUCKDNS_DOMAIN>.duckdns.org:8443.
Save the changes to your Caddyfile and reload it with caddy reload or caddy run --config Caddyfile.
Test if it works by opening a browser on your PC or phone and navigate to https://immich.<YOUR_SERVER>.duckdns.org:8443. If it loads the Immich Welcome page, it worked!
Once on the Immich Welcome page, click Getting Started, it will prompt you to enter an Email Address, a Name (just use your first name), and create a Password. This creates your master Admin account. Just stick to the default settings for most options.
At this point you can also install the Immich Mobile App and login using your newly created account.
Before you start transferring photos onto your Immich server, you may want to adjust the number of concurrent jobs when Immich processes hundreds of newly uploaded images.
On a browser (this option isn’t accessible on the mobile app), go to your Immich server website, click on your profile picture and click Admiinistration.
Click Job Settings
If you have a low end CPU (i7-3770 or lower) and/or a cheap CPU fan, I recommend you use the following settings:
Now you can start uploading photos from your phone onto Immich. Immich will automatically handle folder structure, thumbnails, transcoding, metadata, facial recognition, etc.
You can see the active and waiting jobs by going to Admiinistration and clicking Job Queues on the left column. Here you can also start, stop, pause, and rescan specific jobs.
To setup the External Library for DSLR pictures, go back to the web browser dashboard:
Canon 80D Archive./external-pictures into Path.**/*.CR2.xmp.And at last we’re done! You can now upload all your phone pictures/videos, and DSLR pictures onto Immich and Immich will handle the rest. You can then manually create albums, add users, create links, etc.
Congrats on setting up your own private cloud photo/video storage on your home server that you can access anywhere!