Document shared repo RAA deployment

This commit is contained in:
Your Name
2026-08-03 22:23:04 +05:00
parent 774105e66d
commit 94de8eddb1
3 changed files with 143 additions and 14 deletions
+16 -8
View File
@@ -48,13 +48,15 @@ Current runtime is local infrastructure, not the old VPS.
- New installs default `site-poster` to disabled and must explicitly set provider,
base URL, secret, and `site_poster_enabled=true`.
## RAA Duplicate
## RAA Deployment
As of 2026-08-03, the RAA duplicate is a separate Coolify app/database using the
same codebase shape.
As of 2026-08-03, RAA is a second Coolify app/database deployed from the same
canonical git repository as FN-8. Code work for both projects must happen in
`D:\DEVELOPMENT\new_vk_parser`.
- Local copy path requested by user: `D:\DEVELOPMENT\raa-parser_poster`.
- Gitea repo: `http://192.168.1.135:3000/exostring/raa-parser_poster.git`.
- Canonical local workspace: `D:\DEVELOPMENT\new_vk_parser`.
- Canonical Gitea repo: `http://192.168.1.135:3000/exostring/new_vk_parser.git`.
- Old local copy `D:\DEVELOPMENT\raa-parser_poster` is not the source of truth.
- Coolify app UUID: `korokrhpoyqxf0nw2y8vk7lp` (`RAA admin`).
- Public admin URL: `https://raa.panel.f-n8.ru`.
- RAA Postgres container: `m9v14hzfh5mk9kelxzcqvhc6`, DB `raa_parser`, user `raa_parser_user`.
@@ -63,9 +65,11 @@ same codebase shape.
- VK publication owner: `vk_poster_owner_id=-36860851`, `vk_poster_from_group=true`.
- `TG_BOT_TOKEN`, `TELEGRAM_API_ID`, and `TELEGRAM_API_HASH` were copied from FN-8 Coolify env.
- Local Bot API app setting: `local_bot_api_url=http://127.0.0.1:8081`.
- As last checked, publication workers were intentionally disabled:
`vk-storage-uploader=false`, `tg-poster=false`, `vk-poster=false`,
`tg_poster_enabled=false`, `vk_poster_enabled=false`.
- As last checked, RAA has `vk-parser=true`, `vk-storage-uploader=true`.
AI and publication workers are intentionally disabled until explicitly started:
`ai-qualifier=false`, `ai-writer=false`, `tg-poster=false`, `vk-poster=false`,
`site-poster=false`, `tg_poster_enabled=false`, `vk_poster_enabled=false`.
- Detailed RAA notes live in `RAA.md`.
## Important Text Rules
@@ -157,7 +161,11 @@ As of 2026-07-29:
- Before any deploy/server operation, read `D:\DEVELOPMENT\.infra.md` first.
- Before pushing or deploying, run `git pull --rebase gitea main`.
- For this project, push deployable changes to `gitea/main`; Coolify handles deployment.
- FN-8 and RAA should deploy from the same `new_vk_parser.git` commit SHA.
Differences between projects belong in Coolify env variables and each project's DB settings.
- Prefer small targeted file reads with `rg` and narrow ranges.
- Deployment status polling should be sparse. Coolify rebuilds can take 7-11 minutes
because the Docker build currently runs without cache and reinstalls system deps.
- Avoid dumping long post texts from DB unless explicitly needed.
- For runtime checks, use the current Coolify/Gitea/LXC 105 path from `D:\DEVELOPMENT\.infra.md`.
- Do not `git reset --hard` or revert user/server hotfixes.