Mirror all SPECs and construction docs from pizza-digital, add hub/sidebar links and bidirectional sync scripts.
29 lines
704 B
Markdown
29 lines
704 B
Markdown
# Pizza Digital — Fase 1 bootstrap Docker
|
|
|
|
## Subir tudo (na VM 125)
|
|
|
|
```bash
|
|
cd ~/pizza-digital
|
|
cp -n .env.example .env
|
|
docker compose down
|
|
# parar coming-soon se estiver na :3000
|
|
docker rm -f pizza-coming-soon 2>/dev/null || true
|
|
docker compose up --build -d
|
|
docker compose ps
|
|
curl -sS http://127.0.0.1:3000/api/health
|
|
```
|
|
|
|
## Serviços
|
|
|
|
| Container | Porta | Função |
|
|
|-----------|-------|--------|
|
|
| pizza-gateway | **3000** | Nginx → web + `/api` |
|
|
| pizza-api | 4000 | NestJS + Socket.io |
|
|
| pizza-web | (interno) | React build |
|
|
| pizza-postgres | — | Postgres 16 |
|
|
| pizza-redis | — | Redis 7 |
|
|
|
|
## Apps web
|
|
|
|
- `/` home + status
|
|
- `/pdv` `/kds/:station` `/despacho` `/admin` (scaffold)
|