Skip to content

Immich Machine Learning

Description / nameInput element
Container Registry
Container Configuration Root Path
Timezone
User ID
Group ID
Immich Machine Learning Host Port
Immich Machine Learning /config Path
Immich Machine Learning /cache Path

Build Status Last Commit

Immich Machine Learning service (Python/ONNX) on FreeBSD.

Version Tags

Tag Description Best For
latest Upstream Binary. Downloads the official release. Most users. Matches Linux Docker behavior.

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

services:
  immich-ml:
    image: ghcr.io/daemonless/immich-ml:latest
    container_name: immich-ml
    environment:
      - MACHINE_LEARNING_HOST=0.0.0.0
      - MACHINE_LEARNING_PORT=3003
      - MACHINE_LEARNING_CACHE_FOLDER=/cache
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - /path/to/containers/immich/cache:/cache
      - /path/to/containers/immich-ml:/config
    ports:
      - 3003:3003
    restart: unless-stopped
podman run -d --name immich-ml \
  -p 3003:3003 \
  -e MACHINE_LEARNING_HOST=0.0.0.0 \
  -e MACHINE_LEARNING_PORT=3003 \
  -e MACHINE_LEARNING_CACHE_FOLDER=/cache \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=UTC \
  -v /path/to/containers/immich/cache:/cache \ 
  -v /path/to/containers/immich-ml:/config \ 
  ghcr.io/daemonless/immich-ml:latest
- name: Deploy immich-ml
  containers.podman.podman_container:
    name: immich-ml
    image: ghcr.io/daemonless/immich-ml:latest
    state: started
    restart_policy: always
    env:
      MACHINE_LEARNING_HOST: "0.0.0.0"
      MACHINE_LEARNING_PORT: "3003"
      MACHINE_LEARNING_CACHE_FOLDER: "/cache"
      PUID: "1000"
      PGID: "1000"
      TZ: "UTC"
    ports:
      - "3003:3003"
    volumes:
      - "/path/to/containers/immich/cache:/cache"
      - "/path/to/containers/immich-ml:/config"

Access the Web UI at: http://localhost:3003

Interactive Configuration

Parameters

Environment Variables

Variable Default Description
MACHINE_LEARNING_HOST 0.0.0.0 Host to bind to (0.0.0.0)
MACHINE_LEARNING_PORT 3003 Port to bind to (3003)
MACHINE_LEARNING_CACHE_FOLDER /cache Path to cache folder (/cache)
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container

Volumes

Path Description
/cache Model cache directory (HuggingFace)
/config Configuration directory (unused but mounted)

Ports

Port Protocol Description
3003 TCP ML API

This image is part of the Immich Stack.

Implementation Details

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.0).

Website Source Code


Need help? Join our Discord community.