immich
| Repo | box/github.com/opencharly/pod-immich:v2026.327.0043 |
Immich self-hosted photo and video management server on port 2283 with its machine-learning backend on port 3003 in the same image — face recognition, smart search and OCR run in-process, no second image. Builds the Immich Node server from source with pnpm into /opt/immich/server, the Vite web UI into /build/www, the plugin-core Extism WASM plugin into /build/plugins/immich-plugin-core, and the reverse-geocoding geodata into /build/geodata; installs a PostgreSQL-aware startup wrapper and an idempotent DB-migration wrapper; provisions the Python machine-learning virtualenv (/opt/immich/machine-learning/.venv) from the pinned uv.lock with the CUDA ONNX Runtime extra and supervises it as immich-ml on port 3003. Library, cache, import, external media and ML models live under ~/.immich. The behaviour is verifiable as the built server bundle, the web build, the WASM plugin, the geodata set, the image-codec toolchain, the seeded init SQL, the CUDA execution provider in the ML venv, and live /api/server/ping on 2283 plus /ping on 3003.
Services
Section titled “Services”immich-db-initimmich-serverimmich-ml
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
run |
install the pnpm version immich v3.4.2 pins, beside the image’s own pnpm |
run |
install the uv package manager that builds the machine-learning virtualenv |
run |
fetch the immich source release |
run |
install the extism-js PDK compiler and the binaryen wasm toolchain |
run |
build the sdk, plugin SDK and core plugin, and stage the WASM plugin artifact |
run |
build the immich server bundle and deploy the production tree to /opt/immich |
run |
build the Vite web UI into the runtime web root |
run |
fetch the reverse-geocoding geodata files |
run |
fetch the second-level administrative-code geodata file |
run |
fetch the country-info geodata file immich v3 reads for country names |
run |
fetch the cities geodata archive |
run |
fetch the Natural Earth country outline the map layer renders |
run |
unpack the cities file and stamp the geodata set and build lockfile |
run |
provision the machine-learning virtualenv with the CUDA onnx runtime extra |
run |
remove the build source tree |
run |
write the Postgres init script that seeds the extensions immich requires |
run |
write the idempotent database-migration wrapper |
run |
write the machine-learning run wrapper that puts the venv CUDA wheels on the loader path |
run |
write the PostgreSQL-aware server startup wrapper |
run |
create the per-user media and model directories |
run |
create the per-user thumbnail cache directory |
run |
create the per-user upload staging directory |
run |
create the per-user external-library directory |
run |
create the per-user machine-learning model cache directory |
check |
the Immich Node server bundle is built into /opt/immich/server |
check |
the built web UI is staged into the runtime web root |
check |
the core plugin WASM artifact and its manifest are staged |
check |
the reverse-geocoding geodata set carries the country-info file v3 reads |
check |
the geodata set is stamped so the map layer can detect a data refresh |
check |
the PostgreSQL-aware server startup wrapper is installed and executable |
check |
the server wrapper points the database client at the composed candy’s unix socket |
check |
the server wrapper never hands the database client a loopback address |
check |
the idempotent DB-migration wrapper is installed and executable |
check |
the libvips image-processing library is installed for thumbnailing and transcoding |
check |
the Postgres init script seeds the pgvector extension Immich requires |
check |
the machine-learning virtualenv ships a python interpreter |
check |
the immich_ml inference module is installed into the machine-learning virtualenv |
check |
the CUDA execution provider is available to onnxruntime in the ML virtualenv |
check |
immich-db-init is declared as a one-shot service that must exit 0 |
check |
service=immich-server |
check |
the supervised immich-ml service is running |
check |
http=http://127.0.0.1:${HOST_PORT:2283}/api/server/ping |
check |
command=curl -fsS http://127.0.0.1:3003/ping |
check |
addr=127.0.0.1:${HOST_PORT:2283} |
agent-check |
the web UI presents a usable first-run / login experience |

