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=