# Resumo de Projetos - Redbull (Coolify DEV)

> Atualizado: 2026-02-18

## Status Geral

| Projeto | Ambiente | Status | CI/CD | Webhook |
|---------|----------|:------:|:-----:|:-------:|
| GoHorseJobs | DEV | ✅ Running | ✅ GitHub Actions | ✅ Configurado |
| RodiziosDaqui | DEV | ✅ Running | ❌ Sem pipeline | ✅ Configurado |
| Q1Food | DEV | ❌ Unhealthy | ❌ Sem pipeline | ✅ Configurado |
| Obramarket | DEV | ❌ Unhealthy | ❌ Sem pipeline | ❌ Não configurado |

---

## GoHorseJobs DEV

### URLs
| Serviço | URL |
|---------|-----|
| Frontend | https://local.gohorsejobs.com |
| Backend | https://api-local.gohorsejobs.com |
| Backoffice | https://b-local.gohorsejobs.com |
| Seeder | sslip.io (interno) |

### CI/CD
| Workflow | Status | Trigger |
|----------|--------|---------|
| Deploy to Coolify DEV | ✅ Ativo | Push dev |
| Validate RSA and Run Migrations | ❌ Falhando | Push dev |
| Deploy Backend (Dev) | ✅ Ativo | Manual |

### Webhooks (Coolify)
| Serviço | UUID | Secret |
|---------|------|--------|
| Backend | `iw4sow8s0kkg4cccsk08gsoo` | `oRTKAwXgHrIzIcXdVqa7BXPkzXVQAhwS` |
| Frontend | `ao8g40scws0w4cgo8coc8o40` | `H3CfQuM9Jnpv9Tl37WKupEMlaaIWFlU5` |
| Backoffice | `hg48wkw4wggwsswcwc8sooo4` | `wvREqj94RRX60113cYb2nMCZf0pmg662` |
| Seeder | `q4w48gos8cgssso00o8w8gck` | `sa08PAj2RwyjW5VNmqKX0Ac9s7zIMyH2` |

### Repositórios
- GitHub: https://github.com/rede5/gohorsejobs
- Forgejo (mirror): https://pipe.gohorsejobs.com/bohessefm/gohorsejobs
- Branch: `dev`

---

## RodiziosDaqui DEV

### URLs
| Serviço | URL |
|---------|-----|
| Frontend | http://rodiziosdaqui.rede5.com.br |
| Backend | http://api.rodiziosdaqui.rede5.com.br |
| Backoffice | http://backoffice.rodiziosdaqui.rede5.com.br |
| Seeder | http://seeder.rodiziosdaqui.rede5.com.br |

### CI/CD
⚠️ **Sem pipeline configurado** - Deploy apenas via webhook manual

### Webhooks (Coolify)
| Serviço | UUID | Secret |
|---------|------|--------|
| Backend | `ecso4woo4woo0ks84888k8ck` | `ElwDbKAUgKRvKPJPCqig1v3IGc31cZvo` |
| Frontend | `l4g4cc884gc04kg8s480gs48` | `Rlz5bQyKJABIDWSZyEn30H1jvFMDF98k` |
| Backoffice | `s4kskw08400wcw8g40ossggo` | `jDMmawqSg1ObcrlSt85HZKvrnzUPwBpt` |
| Seeder | `ko0kkw4kw8g80scksg8sk0wc` | `7sCTpRSYtxsrAwFGBW5XCyiF4SR22mcn` |

### Repositório
- GitHub: https://github.com/rede5/rodiziosdaqui
- Branch: `dev`

### Banco de Dados
- PostgreSQL interno (Coolify): `rodiziosdaqui-dev`
- PostgreSQL externo (Absam): `db-60604.dc-us-1.absamcloud.com:11985`

### Ações Necessárias
1. Criar GitHub Actions workflow para deploy automático
2. Configurar webhooks no GitHub para disparar Coolify

---

## Q1Food DEV

### URLs
| Serviço | URL | Status |
|---------|-----|:------:|
| Frontend | http://dev.q1food.com | ❌ unhealthy |
| Backend | http://api-dev.q1food.com | ❌ unhealthy |

### CI/CD
❌ **Sem pipeline configurado**

### Webhooks (Coolify)
| Serviço | UUID | Secret |
|---------|------|--------|
| Backend | `eosgwscc4g044c884k0ws4gc` | `d66bac276faa04631124559d77199d0e` |
| Frontend | `g8w440g0w0oowo8skss440wk` | `c512dc54933829d1cde381e2c9bf394a` |

### Repositórios
- Backend: https://github.com/rede5/food-backend
- Frontend: https://github.com/rede5/food-frontend
- Branch: `dev`

### Ações Necessárias
1. Verificar erro no container (exited:unhealthy)
2. Criar GitHub Actions workflow
3. Configurar webhooks no GitHub

---

## Obramarket DEV

### Status
⚠️ **CRÍTICO** - 4 instâncias duplicadas, todas unhealthy

### URLs
| Serviço | URL | Status |
|---------|-----|--------|
| Backend (1) | sslip.io | ❌ exited:unhealthy |
| Backend (2) | sslip.io | ❌ exited:unhealthy |
| Backend (3) | sslip.io | ❌ exited:unhealthy |
| Backend (4) | sslip.io | ❌ exited:unhealthy |

### CI/CD
❌ **Sem pipeline configurado**

### Webhooks
❌ **Não configurado**

### Ações Necessárias
1. Remover instâncias duplicadas (manter apenas 1)
2. Configurar domínio próprio
3. Configurar webhook para deploy automático
4. Verificar erro no container

### Repositório
- GitHub: https://github.com/rede5/obramarket
- Branch: `main`

---

## Bancos de Dados (Coolify)

| Database | UUID | Status | Tipo |
|----------|------|:------:|------|
| gohorsejobs-dev | `bgws48os8wgwk08o48wg8k80` | ✅ healthy | PostgreSQL 16 |
| rodiziosdaqui-dev | `e8ogwk008c8s8sok8wc00ow0` | ✅ healthy | PostgreSQL 16 |
| vaultwarden | `sg0co4s44cs48o4kc4cgg844` | ✅ healthy | PostgreSQL 16 |

---

## Webhooks URL

Configurar no GitHub (Settings → Webhooks):

```
https://redbull.rede5.com.br/api/v1/webhooks/deploy?uuid={UUID}
```

Content-Type: `application/json`
Secret: webhook secret da aplicação
Events: `Push events`

---

## Links Úteis

- Coolify Dashboard: https://redbull.rede5.com.br
- Coolify API: https://redbull.rede5.com.br/api/v1
- GitHub Token: `~/.ssh/github-token`
- Coolify Token: `~/.ssh/coolify-redbull-token`
- Forgejo: https://pipe.gohorsejobs.com
