chore: .env 추적 해제 및 .gitignore 추가

2026-11-05 서버 침해 사고 후속: 비밀값 파일이 저장소 이력으로 노출되지 않도록
추적만 해제한다(작업 폴더의 파일은 그대로 둔다). 다른 PC에서 pull하기 전에
그쪽 .env를 따로 백업할 것 — pull하면 추적 해제된 파일이 지워진다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dsyoon
2026-11-06 09:04:57 +09:00
parent 3825a536df
commit 77299eebf4
2 changed files with 3 additions and 31 deletions

31
.env
View File

@@ -1,31 +0,0 @@
## Database (PostgreSQL)
PG_DB_HOST=ncue.net
PG_DB_PORT=5432
PG_DB_NAME=ncue
PG_DB_USER=ncue
PG_DB_PASSWORD=ncue5004!
PG_TABLE=ncue_user
## Auth0 — Dashboard 앱 "NCue" (Applications → NCue)
# 테넌트 Domain만 (https 없음). 반드시 *.auth0.com — 사이트 도메인(ncue.net) 넣지 말 것.
AUTH0_DOMAIN=dev-4la1w2h67ybqsbpe.us.auth0.com
# Client ID (SPA)
AUTH0_CLIENT_ID=g5RDfax7FZkKzXYvXOgku3Ll8CxuA4IM
# Google 연결 이름 (Connections에서 확인, 보통 google-oauth2)
AUTH0_GOOGLE_CONNECTION=google-oauth2
# Client Secret: 이 백엔드는 PKCE(SPA)만 쓰므로 .env에 불필요
## Admin bootstrap (server-side only)
# Comma-separated emails that should become admin (DB: ncue_user.is_admin=true) on login sync.
ADMIN_EMAILS=dosangyoon@gmail.com,dosangyoon2@gmail.com,dosangyoon3@gmail.com
## Optional
# Server port
PORT=8000
# Protect admin/config write APIs
CONFIG_TOKEN=REPLACE_ME
AUTH0_DASHBOARD_TOKEN=DTURPQF9VAF7UCZED2GEYSZB

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@ node_modules/
__pycache__/
*.pyc
# 비밀값 파일 — 저장소에 올리지 않음 (2026-11-06)
.env