fix(heal): genuine spot healing exemplar patch transfer & self-contained LaMa AI server in docker

This commit is contained in:
2026-10-16 22:42:21 +07:00
parent 90cba9592a
commit 2761d4f5a3
6 changed files with 120 additions and 181 deletions
+2 -5
View File
@@ -4,8 +4,7 @@
name: recipescam
services:
# Accounts + saved recipes. Never sees a photo: every pixel of the render
# pipeline runs in the visitor's browser.
# Accounts + saved recipes + server AI inpainting (self-contained model).
api:
image: recipescam-api:latest
build: ./backend
@@ -24,12 +23,10 @@ services:
SMTP_PASS: ${SMTP_PASS:-}
SMTP_FROM: ${SMTP_FROM:-}
SMTP_SECURE: ${SMTP_SECURE:-}
INPAINT_MODEL_PATH: /models/lama_fp32.onnx
INPAINT_MODEL_PATH: /app/models/lama_fp32.onnx
volumes:
# SQLite (WAL) lives on the host so a rebuild never loses accounts.
- ./data:/data
# Models directory mounted read-only for server-side AI inpainting
- ./frontend/public/models:/models:ro
# Static SPA + /api reverse proxy. "api" is the DNS name nginx.conf proxies to,
# so this service name is load-bearing.