Deploy
Fluxo
git push origin main
→ GitHub Actions dispara
→ Build Docker image
→ SSH para o servidor
→ docker compose up -d --no-deps funil-api funil-web worker
→ Migrations
→ Health check
→ Notificação Telegram ✅
Ambientes
| Branch/Tag | Ambiente | Domínio |
|---|---|---|
main | Staging | hml.funilchatbot.com.br |
v* (release) | Produção | funilchatbot.com.br |
Rollback
# Ver imagens anteriores
docker images funil-api
# Reverter para versão anterior
docker compose up -d --no-deps funil-api \
-e IMAGE_TAG=sha-abc1234