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
|
- Usuários ativos
|
||||||
- Pedidos pendentes
|
- 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
|
## Variáveis de Ambiente
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
DATABASE_URL=postgres://...
|
DATABASE_URL=postgres://...
|
||||||
JWT_SECRET=your-secret
|
JWT_SECRET=dev-secret # Must match backend secret for local verification
|
||||||
ENCRYPTION_KEY=32-byte-key-for-aes-256
|
PORT=3000
|
||||||
|
API_URL=http://localhost:8214
|
||||||
|
ENCRYPTION_KEY=...
|
||||||
```
|
```
|
||||||
|
|
||||||
## Executar
|
## Executar
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue