From 77299eebf47c61388fb67d1f7d3f72c2a70b07bc Mon Sep 17 00:00:00 2001 From: dsyoon Date: Fri, 6 Nov 2026 09:04:57 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20.env=20=EC=B6=94=EC=A0=81=20=ED=95=B4?= =?UTF-8?q?=EC=A0=9C=20=EB=B0=8F=20.gitignore=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2026-11-05 서버 침해 사고 후속: 비밀값 파일이 저장소 이력으로 노출되지 않도록 추적만 해제한다(작업 폴더의 파일은 그대로 둔다). 다른 PC에서 pull하기 전에 그쪽 .env를 따로 백업할 것 — pull하면 추적 해제된 파일이 지워진다. Co-Authored-By: Claude Opus 5.5 --- .env | 31 ------------------------------- .gitignore | 3 +++ 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index accc3f8..0000000 --- a/.env +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.gitignore b/.gitignore index ac0f04a..84f8829 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ node_modules/ __pycache__/ *.pyc + +# 비밀값 파일 — 저장소에 올리지 않음 (2026-11-06) +.env