Files
rip-help-system/COOLIFY.md
sabo a81d5794d4 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>
2026-08-25 19:47:09 +03:00

39 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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
1. `/healthz` → `status/db ok`, `output_dir_ok: true`, `txt_count` > 0
2. `/api/sections?prefix=RIP` → `text` не е празен
3. `/api/search?q=поръчки&prefix=RIP`
4. `/?prefix=RIP` — dashboard/viewer
## Порт
`8000`