|
| 1 | +# Step 4: Download Docker Templates |
| 2 | + |
| 3 | +Open the Unraid web interface and open the terminal (click the {: .inline-button } icon in the top right corner of the navigation bar). Then download the templates you need. |
| 4 | + |
| 5 | +> [!NOTE] |
| 6 | +> `wget` downloads files from the web. The `-P` flag sets the download directory. Templates are saved to Unraid's Docker Manager template directory. |
| 7 | +
|
| 8 | +## PostgreSQL |
| 9 | +Choose between stability and latest features: |
| 10 | + |
| 11 | +| Option | Image | VectorChord | pgvector | Status | |
| 12 | +|--------|-------|-------------|----------|--------| |
| 13 | +| **Stable** | `ghcr.io/immich-app/postgres:18-vectorchord0.5.3-pgvector0.8.1` | 0.5.3 | 0.8.1 | Tested by Immich team | |
| 14 | +| Experimental | `tensorchord/vchord-postgres:pg18-v1.1.1` | 1.1.1 | 0.8.2 | Latest, less tested | |
| 15 | + |
| 16 | +> [!NOTE] |
| 17 | +> You COULD use VectorChord 1.0.0+ (See [#23845](https://github.com/immich-app/immich/pull/23845)) or 1.1.1 (See [this discussion](https://github.com/immich-app/immich/discussions/23830#discussioncomment-15956803)). The 0.5.3 version is more stable and tested extensively with Immich. If you want to try the latest, use the experimental template. |
| 18 | +
|
| 19 | +### **PostgreSQL database by Immich** — RECOMMENDED (stable, tested by Immich team): |
| 20 | +```bash |
| 21 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-postgres-official.xml |
| 22 | +``` |
| 23 | + |
| 24 | +### **PostgreSQL database by VectorChord** — EXPERIMENTAL (latest VectorChord 1.1.1, less tested with Immich): |
| 25 | +```bash |
| 26 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-vectorchord-db.xml |
| 27 | +``` |
| 28 | + |
| 29 | +## **Valkey** (cache/message broker): |
| 30 | +```bash |
| 31 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-valkey.xml |
| 32 | +``` |
| 33 | + |
| 34 | +## Machine Learning template (choose one based on your GPU): |
| 35 | + |
| 36 | +### **CPU only** — no GPU acceleration: |
| 37 | +*CPU inference is possible but will be much slower for tasks like face recognition and CLIP-based search. Only recommended if you have a powerful CPU and a small library. Will work but expect slower performance and high load on the CPU.* |
| 38 | +```bash |
| 39 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-machine-learning.xml |
| 40 | +``` |
| 41 | + |
| 42 | +### **NVIDIA CUDA:** |
| 43 | +```bash |
| 44 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-machine-learning-cuda.xml |
| 45 | +``` |
| 46 | + |
| 47 | +### **Intel OpenVINO:** |
| 48 | +```bash |
| 49 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-machine-learning-openvino.xml |
| 50 | +``` |
| 51 | + |
| 52 | +### **AMD ROCm:** |
| 53 | +```bash |
| 54 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-machine-learning-rocm.xml |
| 55 | +``` |
| 56 | + |
| 57 | +## Server template (choose one based on your GPU): |
| 58 | +*These templates are for video transcoding. If you don't have a GPU or don't want to use it for transcoding, choose the CPU-only template.* |
| 59 | + |
| 60 | +### **CPU only** — no GPU transcoding: |
| 61 | +```bash |
| 62 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-server.xml |
| 63 | +``` |
| 64 | + |
| 65 | +### **Intel QSV / AMD VAAPI** — uses `/dev/dri`: |
| 66 | +*You can also use your Intel iGPU ("inbuilt graphics card" in your CPU) for transcoding with Quick Sync Video (QSV) or your AMD GPU with VAAPI. Both use the same template since they both leverage `/dev/dri` for hardware acceleration.* |
| 67 | +```bash |
| 68 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-server-qsv-vaapi.xml |
| 69 | +``` |
| 70 | + |
| 71 | +### **NVIDIA NVENC** — uses `--runtime=nvidia`: |
| 72 | +```bash |
| 73 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/immich-server-nvenc.xml |
| 74 | +``` |
| 75 | + |
| 76 | +## **PhotoMigrator** (for Google Takeout migration): |
| 77 | +```bash |
| 78 | +wget -P /boot/config/plugins/dockerMan/templates-user/ https://raw.githubusercontent.com/rorar/unraid-templates/main/templates/photomigrator.xml |
| 79 | +``` |
0 commit comments