From de92fc01b4122bcb047dc3e4ed35744bacd3cbce Mon Sep 17 00:00:00 2001 From: ttipo Date: Wed, 1 Jul 2026 11:42:17 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20env=20=EC=98=88=EC=8B=9C=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=EC=9D=98=20=EC=9B=B9=20=ED=91=B8=EC=8B=9C(VAPID)=20?= =?UTF-8?q?=EC=84=B9=EC=85=98=20=EC=A3=BC=EC=84=9D=20=EA=B5=AC=EC=A1=B0=20?= =?UTF-8?q?=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VAPID 섹션만 설명 주석을 배너 박스 안에 넣거나(dev) 배너 자체가 없어(prod) 다른 섹션과 어긋나던 것을, 다른 섹션과 동일하게 '배너(제목만) → 아래 설명 주석' 구조로 맞춘다. 값 변화 없음. Co-Authored-By: Claude Opus 4.8 (1M context) --- .env.development.example | 7 ++++--- .env.production.example | 8 ++++++-- backend/.env.development.example | 2 +- backend/.env.production.example | 5 ++++- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.env.development.example b/.env.development.example index 1c737eb..96a51dd 100644 --- a/.env.development.example +++ b/.env.development.example @@ -82,9 +82,10 @@ OBJECT_STORAGE_REGION=kr-standard OBJECT_STORAGE_BUCKET=comrelay-dev # ========================================== -# 웹 푸시 알림 (Web Push / VAPID) — 비밀 아닌 값만 루트에서 주입 -# 키페어 생성: node -e "console.log(require('web-push').generateVAPIDKeys())" -# PRIVATE_KEY 는 backend/.env. 에 작성(시크릿). 공개키는 프론트에도 주입됨. +# 웹 푸시 알림 (Web Push / VAPID) # ========================================== +# 비밀 아닌 값만 루트에서 주입. 키페어 생성: +# node -e "console.log(require('web-push').generateVAPIDKeys())" +# PRIVATE_KEY 는 backend/.env. 에 작성(시크릿). 공개키는 프론트 빌드에도 주입됨. VAPID_PUBLIC_KEY= VAPID_SUBJECT=mailto:admin@example.com diff --git a/.env.production.example b/.env.production.example index 0ce3851..bf70068 100644 --- a/.env.production.example +++ b/.env.production.example @@ -84,7 +84,11 @@ OBJECT_STORAGE_ENDPOINT=https://kr.object.ncloudstorage.com OBJECT_STORAGE_REGION=kr-standard OBJECT_STORAGE_BUCKET=comrelay-prod -# 웹 푸시 알림 (Web Push / VAPID) — 비밀 아닌 값만 루트에서 주입 -# 키페어 생성: node -e "console.log(require('web-push').generateVAPIDKeys())" +# ========================================== +# 웹 푸시 알림 (Web Push / VAPID) +# ========================================== +# 비밀 아닌 값만 루트에서 주입. 키페어 생성: +# node -e "console.log(require('web-push').generateVAPIDKeys())" +# PRIVATE_KEY 는 backend/.env. 에 작성(시크릿). 공개키는 프론트 빌드에도 주입됨. VAPID_PUBLIC_KEY= VAPID_SUBJECT=mailto:admin@example.com diff --git a/backend/.env.development.example b/backend/.env.development.example index 96a5d44..1c49fb3 100644 --- a/backend/.env.development.example +++ b/backend/.env.development.example @@ -54,6 +54,6 @@ OBJECT_STORAGE_SECRET_KEY=change-me-ncp-secret-key # ========================================== # 웹 푸시 알림 (Web Push / VAPID) — 시크릿(개인키) -# PUBLIC_KEY/SUBJECT 는 루트 .env 에서 주입. 미설정 시 푸시만 비활성. # ========================================== +# PUBLIC_KEY/SUBJECT 는 루트 .env 에서 주입. 미설정 시 푸시 발송만 비활성. VAPID_PRIVATE_KEY= diff --git a/backend/.env.production.example b/backend/.env.production.example index 6790e55..c7099de 100644 --- a/backend/.env.production.example +++ b/backend/.env.production.example @@ -51,5 +51,8 @@ CLAUDE_MODEL=claude-sonnet-4-6 OBJECT_STORAGE_ACCESS_KEY=change-me-ncp-access-key OBJECT_STORAGE_SECRET_KEY=change-me-ncp-secret-key -# 웹 푸시 알림 (Web Push / VAPID) — 시크릿(개인키). 미설정 시 푸시만 비활성. +# ========================================== +# 웹 푸시 알림 (Web Push / VAPID) — 시크릿(개인키) +# ========================================== +# PUBLIC_KEY/SUBJECT 는 루트 .env 에서 주입. 미설정 시 푸시 발송만 비활성. VAPID_PRIVATE_KEY=