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>
1.1 KiB
1.1 KiB
Coolify — RIP Help System
Build (Configuration → General)
| Поле | Стойност |
|---|---|
| Build Pack | Dockerfile |
| Base Directory | / |
| Dockerfile Location | /Dockerfile |
Dockerfile се редактира само в git (няма Edit Dockerfile след Add Resource).
Environment Variables
HELP_DB_CONN=host=... port=5432 dbname=rip_help_system user=... password=...
OUTPUT_DIR=/mnt/mssql/share/RIP/RIP_Help_Source/Output
HOME_IMAGE=/mnt/mssql/share/RIP/RIP_Help_Source/Output/Bairaci.png
Persistent Storage
| Host path | Container path | Mode |
|---|---|---|
/mnt/mssql/share/RIP/RIP_Help_Source/Output |
/mnt/mssql/share/RIP/RIP_Help_Source/Output |
read-only OK |
(Файловете се качват с WinSCP в този host path.)
Проверки след Redeploy
/healthz→status/db ok,output_dir_ok: true,txt_count> 0/api/sections?prefix=RIP→textне е празен/api/search?q=поръчки&prefix=RIP/?prefix=RIP— dashboard/viewer
Порт
8000