docs: atualizar conexões e scripts de sincronização de vault
This commit is contained in:
parent
2af2113cba
commit
9e6de58881
1 changed files with 67 additions and 39 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Inventário de Serviços Redbull
|
||||
|
||||
> Última atualização: 2026-02-26 — Audit completo via Coolify API + SSH
|
||||
> Última atualização: 2026-02-28 — Limpeza de duplicatas + fixes de repo + deploy q1food
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -19,13 +19,15 @@ Servidor Redbull (`185.194.141.70`) gerenciado pelo Coolify v4. Proxy reverso: T
|
|||
|
||||
| Aplicação | UUID | Domínio | Branch | CI/CD | Status |
|
||||
|-----------|------|---------|--------|-------|:------:|
|
||||
| **backend-dev** | `h8kkc0gw04sow8oo08ccg00s` | sslip.io (sem domínio) | main | ❌ Sem webhook | ❌ Exited |
|
||||
| **backend-hml** | `bk0kcosgo0s8cogww8s4so0w` | sslip.io (sem domínio) | main | ❌ Sem webhook | ❌ Exited |
|
||||
| **frontend-dev** | `wwgccg0o8g4ogowgowcw4gcg` | sslip.io (sem domínio) | main | ❌ Sem webhook | ❌ Exited |
|
||||
| **frontend-hml** | `es0gg4gokssw8c88o4kg0c08` | sslip.io (sem domínio) | main | ❌ Sem webhook | ❌ Exited |
|
||||
| **backend-dev** | `fk00s0cg8kgc0w4csswskgkw` | https://api-dev.q1agenda.com.br | dev | ❌ Sem webhook | ❌ Exited (aguardando envs) |
|
||||
| **backend-hml** | `lkoc4coo48k0sow4c00gwo8k` | https://api-hml.q1agenda.com.br | hml | ❌ Sem webhook | ❌ Exited (aguardando envs) |
|
||||
| **frontend-dev** | `jgook0gkss4cco0484co0s4o` | https://dev.q1agenda.com.br | main | ❌ Sem webhook | ✅ Running |
|
||||
| **frontend-hml** | `lg4k0gk4gsog8ckcs8sw4cwc` | https://hml.q1agenda.com.br | main | ❌ Sem webhook | ✅ Running |
|
||||
|
||||
**Repo:** `rede5/q1-agenda-backend.git` / `rede5/q1-agenda-frontend.git` (GitHub App)
|
||||
**Issues:** Sem domínio configurado, sem CI/CD, todos parados. Precisam de revisão/limpeza.
|
||||
**Repo backend:** `git@github.com:rede5/q1agenda-backend.git` (branch `dev`/`hml`)
|
||||
**Repo frontend:** `git@github.com:rede5/q1-agenda-frontend.git`
|
||||
**Fix 2026-02-28:** Repo URL corrigido (`q1-agenda-backend` → `q1agenda-backend`), duplicata sslip deletada, envs Appwrite base adicionados.
|
||||
**Pendente:** `APPWRITE_PROJECT_ID`, `APPWRITE_API_KEY`, `SECURITY_API_KEY`, `JWT_SECRET` — preencher no Coolify Dashboard antes de deployar.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -37,10 +39,8 @@ Servidor Redbull (`185.194.141.70`) gerenciado pelo Coolify v4. Proxy reverso: T
|
|||
| **gohorsejobs-frontend-local** | `ao8g40scws0w4cgo8coc8o40` | https://local.gohorsejobs.com | dev | ✅ GitHub webhook | ✅ Running |
|
||||
| **gohorsejobs-backoffice-local** | `hg48wkw4wggwsswcwc8sooo4` | https://b-local.gohorsejobs.com | dev | ✅ GitHub webhook | ✅ Running |
|
||||
| **gohorsejobs-seeder-local** | `q4w48gos8cgssso00o8w8gck` | https://s-local.gohorsejobs.com | dev | ✅ GitHub webhook | ✅ Healthy |
|
||||
| **gohorsejobs-frontend-dev** | `sowwg0scwkwooog0kggsosso` | sslip.io (sem domínio) | dev | ❌ Sem webhook | ❌ Exited |
|
||||
|
||||
**Repo:** `git@github.com:rede5/gohorsejobs.git`
|
||||
**Issues:** `gohorsejobs-frontend-dev` duplicata da `frontend-local`, parada e sem CI/CD — candidata à remoção.
|
||||
**Fix 2026-02-28:** `gohorsejobs-frontend-dev` (sslip.io, sem domínio, sem envs) deletada — duplicata da `frontend-local`.
|
||||
**Nota:** `gohorsejobs-backend-local` aponta para `test2.q1agenda.com.br` — revisar domínio.
|
||||
|
||||
---
|
||||
|
|
@ -85,30 +85,34 @@ Servidor Redbull (`185.194.141.70`) gerenciado pelo Coolify v4. Proxy reverso: T
|
|||
|
||||
---
|
||||
|
||||
### ObraMarket (DEV) — DUPLICATAS ⚠️
|
||||
### ObraMarket (DEV)
|
||||
|
||||
| UUID | Repo Configurado | CI/CD | Status |
|
||||
|------|-----------------|-------|:------:|
|
||||
| `js8kkwgk8scwg0c4s44wc48s` | `git@forgejo.redbull:rede5/obramarket.git` | ❌ | ❌ Exited |
|
||||
| `ws08owk8ocog0gswg8ogo8c4` | `git@github.com:rede5/obramarket.git` | ❌ | ❌ Exited |
|
||||
| `ywk4w0o88ww0400s0gwogkw8` | `rede5/obramarket.git` (incompleto) | ❌ | ❌ Exited |
|
||||
| `v44kk8s0cg8w4wgwoc0cc88w` | `http://10.0.1.9:3001/rede5/obramarket.git` (IP interno) | ❌ | ❌ Exited |
|
||||
| Aplicação | UUID | Domínio | Branch | CI/CD | Status |
|
||||
|-----------|------|---------|--------|-------|:------:|
|
||||
| **obramarket-backend-dev** | `ws08owk8ocog0gswg8ogo8c4` | sslip.io (sem domínio próprio) | main | ❌ Sem webhook | ❌ Exited |
|
||||
|
||||
> **Ação necessária:** 4 instâncias duplicadas do mesmo backend, todas com repos diferentes e sem CI/CD. **Remover 3, manter apenas a que usar GitHub.**
|
||||
**Repo:** `git@github.com:rede5/obramarket.git`
|
||||
**Fix 2026-02-28:** 3 duplicatas deletadas (forgejo, IP interno, URL inválida). Envs base adicionados (SERVER_PORT, DB_PORT, etc.).
|
||||
**Pendente:** `DB_HOST`, `DB_USER`, `DB_PASSWORD`, `DB_NAME`, `JWT_SECRET`, `PEPPER_SECRET`, `ADMIN_EMAIL`, `ADMIN_PASSWORD`, `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` — preencher no Coolify + configurar domínio próprio.
|
||||
|
||||
---
|
||||
|
||||
## Resumo de Status
|
||||
|
||||
| Projeto | Rodando | Parado | CI/CD |
|
||||
|---------|:-------:|:------:|-------|
|
||||
| Q1Agenda | 0 | 4 | ❌ Nenhum |
|
||||
| GoHorse Jobs | 4 | 1 | ✅ 4 de 5 |
|
||||
| Rodizios Daqui | 4 | 0 | ✅ Todos |
|
||||
| Q1Food | 1 | 1 | ✅ Ambos configurados |
|
||||
| Sextando | 1 | 2 | ❌ Nenhum |
|
||||
| ObraMarket | 0 | 4 | ❌ Nenhum |
|
||||
| **Total** | **10** | **12** | |
|
||||
| Projeto | Rodando | Parado | CI/CD | Apps Total |
|
||||
|---------|:-------:|:------:|-------|:----------:|
|
||||
| Q1Agenda | 2 | 2 | ❌ Nenhum | 4 |
|
||||
| GoHorse Jobs | 4 | 0 | ✅ Todos | 4 |
|
||||
| Rodizios Daqui | 4 | 0 | ✅ Todos | 4 |
|
||||
| Q1Food | 1 | 1 🔄 | ✅ Ambos | 2 |
|
||||
| Sextando | 3 | 0 | ❌ Nenhum | 3 |
|
||||
| ObraMarket | 0 | 1 | ❌ Nenhum | 1 |
|
||||
| Q1Total | 1 | 0 | ✅ | 1 |
|
||||
| Q1Site | 1 | 0 | ✅ | 1 |
|
||||
| SaveInMed | 2 | 0 | ✅ | 2 |
|
||||
| **Total** | **18** | **4** | | **22** |
|
||||
|
||||
> 🔄 q1food-backend em deploy após refactor Supabase → PostgreSQL (2026-02-28)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -209,7 +213,18 @@ Servidor Redbull (`185.194.141.70`) gerenciado pelo Coolify v4. Proxy reverso: T
|
|||
|
||||
---
|
||||
|
||||
## Fixes Aplicados (2026-02-26)
|
||||
## Fixes Aplicados
|
||||
|
||||
### 2026-02-28
|
||||
|
||||
| App | Problema | Fix | Status |
|
||||
|-----|----------|-----|:------:|
|
||||
| **q1food-backend** | Migração Supabase → PostgreSQL incompleta (app crashava no startup) | 19 arquivos reescritos via GitHub API (branch `dev`): config, database, 7 models, 6 services, migrations/init.sql + Dockerfile uploads dir + fix postgres:// → ✅ Running | ✅ OK |
|
||||
| **q1agenda-backend** (dev+hml) | Repo URL errado (`q1-agenda-backend` → `q1agenda-backend`), duplicata sslip.io, sem envs | PATCH Coolify repo URL, branch dev/hml, DELETE duplicata, envs Appwrite base adicionados | ⚠️ Aguarda credenciais |
|
||||
| **obramarket-backend** | 4 duplicatas com repos inconsistentes (forgejo, IP, inválido, github) | DELETE 3 duplicatas, envs base adicionados | ⚠️ Aguarda credenciais DB |
|
||||
| **gohorsejobs-frontend-dev** | Duplicata sem domínio/envs (sslip.io) da frontend-local | DELETE do Coolify | ✅ Limpo |
|
||||
|
||||
### 2026-02-26
|
||||
|
||||
| App | Problema | Fix | Status |
|
||||
|-----|----------|-----|:------:|
|
||||
|
|
@ -224,20 +239,33 @@ Servidor Redbull (`185.194.141.70`) gerenciado pelo Coolify v4. Proxy reverso: T
|
|||
|
||||
| # | Problema | Severidade | Ação |
|
||||
|---|----------|:----------:|------|
|
||||
| 1 | **q1food-backend**: falta env vars `SUPABASE_URL`, `SUPABASE_KEY`, `SUPABASE_ANON_KEY` | 🔴 Alta | Configurar no Coolify Dashboard → App → Environment Variables |
|
||||
| 2 | **ObraMarket: 4 apps duplicadas**, repos inconsistentes, todas paradas | 🔴 Alta | Remover 3, manter a que usar GitHub (`ws08owk8ocog0gswg8ogo8c4`) |
|
||||
| 3 | **Q1Agenda: 4 apps sem CI/CD e paradas** — sem domínio real | 🟡 Média | Configurar webhook ou remover se projeto inativo |
|
||||
| 1 | **q1agenda-backend** (dev+hml): faltam credenciais Appwrite | 🔴 Alta | Coolify → App → Envs: `APPWRITE_PROJECT_ID`, `APPWRITE_API_KEY`, `SECURITY_API_KEY`, `JWT_SECRET` → Deploy |
|
||||
| 2 | **obramarket-backend**: faltam credenciais DB + S3 + JWT | 🔴 Alta | Coolify → App → Envs: `DB_HOST/USER/PASSWORD/NAME`, `JWT_SECRET`, `PEPPER_SECRET`, `AWS_ACCESS_KEY_ID/SECRET` → Deploy |
|
||||
| 3 | **obramarket-backend**: sem domínio próprio (sslip.io) | 🟡 Média | Coolify UI → App → Domains → adicionar `api-dev.obramarket.com.br` |
|
||||
| 4 | **Sextando: nenhum app tem webhook CI/CD** | 🟡 Média | Configurar webhook GitHub para todos (ver URLs abaixo) |
|
||||
| 5 | **gohorsejobs-frontend-dev**: duplicata parada sem CI/CD | 🟡 Média | Remover do Coolify |
|
||||
| 6 | **SSH hostname bloqueado** — porta 22 inacessível via `redbull.rede5.com.br` | 🟡 Média | Cloudflare bloqueia porta 22 — SSH config usa IP `185.194.141.70` |
|
||||
| 7 | **gohorsejobs-backend-local** usa domínio `test2.q1agenda.com.br` — parece errado | 🟢 Baixa | Revisar domínio para `api-local.gohorsejobs.com` |
|
||||
| 5 | **SSH hostname bloqueado** — porta 22 inacessível via `redbull.rede5.com.br` | 🟢 Baixa | Cloudflare bloqueia porta 22 — SSH config usa IP `185.194.141.70` |
|
||||
| 6 | **gohorsejobs-backend-local** usa domínio `test2.q1agenda.com.br` | 🟢 Baixa | Revisar domínio para `api-local.gohorsejobs.com` |
|
||||
|
||||
### q1food-backend — Env Vars necessárias
|
||||
### q1agenda-backend — Envs pendentes
|
||||
```bash
|
||||
# Configurar no Coolify → App q1food-backend-dev → Environment Variables
|
||||
SUPABASE_URL=https://xxxxx.supabase.co
|
||||
SUPABASE_KEY=eyJhbGci... # Service role key
|
||||
SUPABASE_ANON_KEY=eyJhbGci... # Anon public key
|
||||
APPWRITE_PROJECT_ID=<id_do_projeto_appwrite>
|
||||
APPWRITE_API_KEY=<api_key_server>
|
||||
SECURITY_API_KEY=<chave_interna>
|
||||
JWT_SECRET=<segredo_jwt>
|
||||
```
|
||||
|
||||
### obramarket-backend — Envs pendentes
|
||||
```bash
|
||||
DB_HOST=<host_postgres>
|
||||
DB_USER=<usuario>
|
||||
DB_PASSWORD=<senha>
|
||||
DB_NAME=obramarket_dev
|
||||
JWT_SECRET=<segredo>
|
||||
PEPPER_SECRET=<pepper>
|
||||
ADMIN_EMAIL=admin@obramarket.com.br
|
||||
ADMIN_PASSWORD=<senha_inicial>
|
||||
AWS_ACCESS_KEY_ID=<key>
|
||||
AWS_SECRET_ACCESS_KEY=<secret>
|
||||
```
|
||||
|
||||
### Sextando — Webhooks CI/CD a configurar no GitHub
|
||||
|
|
|
|||
Loading…
Reference in a new issue