# 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`