Fix obico model_cache mount path to /model_cache/ml_api

This commit is contained in:
2026-02-26 17:04:22 +00:00
parent a6f2d4c4b2
commit 6e62d9ba2f
+4 -4
View File
@@ -7,9 +7,9 @@ services:
- obico-internal - obico-internal
obico: obico:
# Use :cuda for NVIDIA GPU acceleration, :latest for CPU-only # :cuda tag attempts GPU but falls back to CPU if CUDA version mismatch
# Note: :cuda tag has had occasional CUDNN/ONNX version issues after updates. # (libcudart.so.11.0 required; GTX 1660 SUPER with driver 590 has CUDA 12).
# If obico fails to start after an image update, switch to :latest temporarily. # ML inference still works on CPU - adequate for a single printer.
image: ghcr.io/imagegenius/obico:cuda image: ghcr.io/imagegenius/obico:cuda
container_name: obico container_name: obico
restart: unless-stopped restart: unless-stopped
@@ -30,7 +30,7 @@ services:
- ACCOUNT_ALLOW_SIGN_UP=False - ACCOUNT_ALLOW_SIGN_UP=False
volumes: volumes:
- /srv/obico/config:/config - /srv/obico/config:/config
- /srv/obico/config/model_cache:/model_cache - /srv/obico/config/model_cache:/model_cache/ml_api
ports: ports:
- "3334:3334" - "3334:3334"
deploy: deploy: