fix(heal): genuine spot healing exemplar patch transfer & self-contained LaMa AI server in docker
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user