-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
50 lines (44 loc) · 1.46 KB
/
compose.yaml
File metadata and controls
50 lines (44 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: immich-ml
x-daemonless:
title: "Immich Machine Learning"
icon: ":material-brain:"
category: "Photos & Media"
description: "Machine learning service for Immich — handles facial recognition, image classification, and semantic search using ONNX models."
upstream_url: "https://github.com/immich-app/immich"
web_url: "https://immich.app/"
freshports_url: ""
user: "bsd"
mlock: false
upstream_binary: true
appjail: true
notes: "This image is part of the [Immich Stack](https://daemonless.io/images/immich)."
docs:
env:
PUID: "User ID for the application process"
PGID: "Group ID for the application process"
TZ: "Timezone for the container"
MACHINE_LEARNING_HOST: "Host to bind to (0.0.0.0)"
MACHINE_LEARNING_PORT: "Port to bind to (3003)"
MACHINE_LEARNING_CACHE_FOLDER: "Path to cache folder (/cache)"
volumes:
/cache: "Model cache directory (HuggingFace)"
/config: "Configuration directory (unused but mounted)"
ports:
3003: "ML API"
services:
immich-ml:
image: ghcr.io/daemonless/immich-ml:latest
container_name: immich-ml
restart: unless-stopped
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/config:/config
ports:
- "3003:3003"