fix(ops): send apikey with push drain, read the web push public key from release/, record 2026-11-17 backlog evidence

The scheduled push drain got HTTP 401 because modern Supabase service keys need the apikey
header next to Bearer. NAS deploy scripts fall back to release/webpush-vapid-public.key
(public key only). Map, mobile SSOT and deployment runbooks are synced with the verified
operations run in docs/evidence/2026-11-17-backlog-operations.md.
This commit is contained in:
Yun Chan 2026-11-20 15:16:19 +09:00
parent 8d8aaf5794
commit 6791e29f27
16 changed files with 254 additions and 96 deletions

View file

@ -61,6 +61,16 @@ curl -fsSI http://127.0.0.1:3001/login | head -n 1
curl -fsSI http://127.0.0.1:3002/app/login | head -n 1
```
Windows에서 로컬 Docker 데몬 없이 SSH 빌드하는 현재 경로(2026-11-17 전체 빌드, 2026-11-18 선택 빌드 검증):
```powershell
$env:DOCKER_HOST = "ssh://yunchan-nas"
pwsh -NoProfile -File scripts/deploy-nas.ps1 -BuildOnly
ssh yunchan-nas "cd /volume1/docker/d3ro && docker compose up -d"
```
`-BuildOnly`는 기본적으로 API·Admin·Web 이미지를 원격 Docker에 만들고 tar/배포용 `.env` 패키징은 생략한다. 이미 완료된 이미지를 유지하며 하나만 다시 빌드할 때는 `-Services web`처럼 `api`/`admin`/`web`을 선택한다(2026-11-18). Web Push 공개키는 `NEXT_PUBLIC_VAPID_PUBLIC_KEY`/`WEBPUSH_VAPID_PUBLIC_KEY`가 비어 있으면 `release/webpush-vapid-public.key`에서 읽는다. 로컬 `JWT_SECRET` 없이도 빌드할 수 있으며 NAS의 기존 `.env`는 그대로 유지한다.
---
## 4. Rollback Procedure