Align Coolify webapp with WinSCP share and remote output paths.

Resolve section text from OUTPUT_DIR by basename, add /api/search and richer /healthz, default mount to /mnt/.../Output, support --remote-root in processor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 19:47:09 +03:00
parent 9613420d1d
commit a81d5794d4
9 changed files with 342 additions and 145 deletions

View File

@@ -8,11 +8,13 @@ WORKDIR /app
COPY requirements-webapp.txt /app/
RUN pip install --no-cache-dir -r requirements-webapp.txt
# Кода
# Кода + home image в образа (fallback ако липсва в share)
COPY webapp /app/webapp
COPY Bairaci.png /app/Bairaci.png
# Изходна директория за картинките — Docker volume mount
ENV OUTPUT_DIR=/data/help_output
# Секции/картинки — Coolify Persistent Storage mount
ENV OUTPUT_DIR=/mnt/mssql/share/RIP/RIP_Help_Source/Output
ENV HOME_IMAGE=/app/Bairaci.png
EXPOSE 8000