docs: update BACKOFFICE.md with distroless and jwt details
This commit is contained in:
parent
93da628362
commit
70d89d1c28
1 changed files with 9 additions and 2 deletions
|
|
@ -33,12 +33,19 @@ DELETE /api/admin/settings/:key → Remover
|
|||
- Usuários ativos
|
||||
- Pedidos pendentes
|
||||
|
||||
## 🚀 Deployment
|
||||
|
||||
The service is containerized using **Google Distroless** images (`gcr.io/distroless/nodejs22-debian12`) for maximum security and minimal footprint.
|
||||
Verified locally using `JWT_SECRET` shared with the backend.
|
||||
|
||||
## Variáveis de Ambiente
|
||||
|
||||
```bash
|
||||
DATABASE_URL=postgres://...
|
||||
JWT_SECRET=your-secret
|
||||
ENCRYPTION_KEY=32-byte-key-for-aes-256
|
||||
JWT_SECRET=dev-secret # Must match backend secret for local verification
|
||||
PORT=3000
|
||||
API_URL=http://localhost:8214
|
||||
ENCRYPTION_KEY=...
|
||||
```
|
||||
|
||||
## Executar
|
||||
|
|
|
|||
Loading…
Reference in a new issue