Document RAA deployment

This commit is contained in:
Your Name
2026-08-03 16:36:23 +05:00
parent 18583fef86
commit 5fc8c791e8
+33 -1
View File
@@ -6,14 +6,46 @@ RAA is a separate deployment copied from the FN-8 parser/poster codebase.
- Local workspace: `D:\DEVELOPMENT\raa-parser_poster`
- Public admin domain: `https://raa.panel.f-n8.ru`
- 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`
- Server path: `/opt/raa-parser/app`
- Deploy method: manual Docker Compose inside CTID `107`.
- Edge proxy: Caddy in CTID `110` proxies `raa.panel.f-n8.ru` to `192.168.1.106:8000`.
- Health check: `https://raa.panel.f-n8.ru/health`
- Site poster must stay disabled until a site adapter is configured.
- The current site-poster adapter boundary is `site_poster_provider`; only `ghost`
exists in code today. WordPress should be added as a code adapter, not as
arbitrary executable code stored in settings.
## Current Deployment
Created on 2026-08-03.
- App container and Postgres run via `/opt/raa-parser/app/docker-compose.yml`.
- Runtime `.env` is stored only on the server at `/opt/raa-parser/app/.env`.
- `APP_SECRET_KEY`, DB password, and initial admin password were generated on deploy and are not committed.
- Initial admin login is `admin`.
- `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.
## Deploy Notes
To update this deployment:
1. Push changes to the Gitea repo.
2. SSH to Proxmox host from `D:\DEVELOPMENT\.infra.md`.
3. Run inside CTID `107`:
```sh
cd /opt/raa-parser/app
git pull --rebase
docker-compose up -d --build
curl -fsS http://127.0.0.1:8000/health
```
## First-Run Settings
Set real secrets in Coolify/env, not in git:
Set real secrets in env, not in git:
- `APP_SECRET_KEY`
- `ADMIN_BOOTSTRAP_LOGIN`