Create compose.yml

This commit is contained in:
drifty
2025-01-16 12:48:32 +05:30
committed by GitHub
parent a00bdc2b65
commit 96a28e94a4

View File

@@ -0,0 +1,20 @@
name: immich_remote_ml
services:
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.ml.yml
# service: # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicab>
volumes:
- model-cache:/cache
restart: always
ports:
- 3003:3003
volumes:
model-cache:
# port forward 3003 and run this on a beefy machine to use machine learning on any instance of immich remotely