Document Coolify RAA deployment

This commit is contained in:
Your Name
2026-08-03 16:57:18 +05:00
parent 5fc8c791e8
commit cf12aa0df8
+17 -13
View File
@@ -7,10 +7,11 @@ RAA is a separate deployment copied from the FN-8 parser/poster codebase.
- Local workspace: `D:\DEVELOPMENT\raa-parser_poster` - Local workspace: `D:\DEVELOPMENT\raa-parser_poster`
- Public admin domain: `https://raa.panel.f-n8.ru` - Public admin domain: `https://raa.panel.f-n8.ru`
- Gitea repo: `http://192.168.1.135:3000/exostring/raa-parser_poster.git` - Gitea repo: `http://192.168.1.135:3000/exostring/raa-parser_poster.git`
- Proxmox LXC: CTID `107`, hostname `raa-parser-poster`, IP `192.168.1.106` - Coolify project: `n8_parser` / `production`
- Server path: `/opt/raa-parser/app` - Coolify app: `RAA admin`, UUID `korokrhpoyqxf0nw2y8vk7lp`
- Deploy method: manual Docker Compose inside CTID `107`. - Coolify DB: `raa_parser_db`, UUID `m9v14hzfh5mk9kelxzcqvhc6`
- Edge proxy: Caddy in CTID `110` proxies `raa.panel.f-n8.ru` to `192.168.1.106:8000`. - Coolify destination: `vk-parser-lxc`, CTID `105`, IP `192.168.1.105`
- Edge proxy: Caddy in CTID `110` proxies `raa.panel.f-n8.ru` to Coolify Traefik at `192.168.1.105:80`.
- Health check: `https://raa.panel.f-n8.ru/health` - Health check: `https://raa.panel.f-n8.ru/health`
- Site poster must stay disabled until a site adapter is configured. - Site poster must stay disabled until a site adapter is configured.
- The current site-poster adapter boundary is `site_poster_provider`; only `ghost` - The current site-poster adapter boundary is `site_poster_provider`; only `ghost`
@@ -21,28 +22,31 @@ RAA is a separate deployment copied from the FN-8 parser/poster codebase.
Created on 2026-08-03. Created on 2026-08-03.
- App container and Postgres run via `/opt/raa-parser/app/docker-compose.yml`. - App and Postgres are managed by Coolify, not by manual Docker Compose.
- Runtime `.env` is stored only on the server at `/opt/raa-parser/app/.env`. - Runtime env/secrets are stored in Coolify resource environment variables.
- `APP_SECRET_KEY`, DB password, and initial admin password were generated on deploy and are not committed. - `APP_SECRET_KEY`, DB password, and initial admin password were generated in Coolify and are not committed.
- Initial admin login is `admin`. - Initial admin login is `admin`.
- `vk-parser`, `vk-storage-uploader`, and `daily-report` default to disabled for a fresh RAA DB. - `vk-parser`, `vk-storage-uploader`, and `daily-report` default to disabled for a fresh RAA DB.
- Site poster defaults to disabled; do not enable it until an RAA site provider is chosen. - Site poster defaults to disabled; do not enable it until an RAA site provider is chosen.
- A temporary manual LXC deployment was created first at CTID `107`, then replaced by Coolify. CTID `107` is stopped and is not the active runtime.
## Deploy Notes ## Deploy Notes
To update this deployment: To update this deployment:
1. Push changes to the Gitea repo. 1. Push changes to the Gitea repo.
2. SSH to Proxmox host from `D:\DEVELOPMENT\.infra.md`. 2. Coolify should deploy `RAA admin` from `gitea/main`.
3. Run inside CTID `107`: 3. Manual deploy trigger, if needed:
```sh ```sh
cd /opt/raa-parser/app curl -X POST -H "Authorization: Bearer <coolify-token>" \
git pull --rebase -H "Content-Type: application/json" \
docker-compose up -d --build -d '{"uuid":"korokrhpoyqxf0nw2y8vk7lp","type":"application"}' \
curl -fsS http://127.0.0.1:8000/health "http://192.168.1.135:8000/api/v1/deploy"
``` ```
4. Verify `https://raa.panel.f-n8.ru/health`.
## First-Run Settings ## First-Run Settings
Set real secrets in env, not in git: Set real secrets in env, not in git: