# VM123 Finance — deploy atómico + smoke GREEN

Mesmo nível que Desk (VM122) e Wizard (VM112).

## Comandos

```bash
cd /opt/ligbox-spec-hub/repos/ligbox-ops-platform/deploy/vm123-finance-modern

# Deploy completo (sync + console build + smoke)
./deploy-vm123-full.sh

# Só smoke
./smoke-vm123.sh
```

## Métrica

`FINANCE_RELEASE=GREEN` após smoke — obrigatório antes de declarar feito.

## O que sincroniza

| Destino VM123 | Origem repo |
|---------------|-------------|
| `/opt/vm123-finance-stack` | `projects/finance/deploy/vm123-finance-stack/` |
| `/opt/ligbox-ops-console` | `specs/019-ops-console-active-operations/deploy/` |

`.env` remoto **nunca** sobrescrito.

## Serviços validados

- Ops Console `:8100` + `console.ligbox.com.br`
- FOSSBilling `:8092` + `financeiro.ligbox.com.br`
- Odoo `:8069`
- OpenPanel + OpenAdmin (HTTPS)
- Bridge OpenPanel `:18087`
- Desk VM122 upstream health

## Credenciais SSH

| VM | IP | WAN | Senha |
|----|-----|-----|-------|
| VM123 | 10.10.10.123 | :2523 | `805353` |

Ver `projects/finance/deploy/vm123-finance-stack/CREDENCIAIS_SERVICOS_VM123.txt` para apps.

## Rule Cursor

`.cursor/rules/vm123-deploy-release.mdc`
