From 86d9cdc894b19c43a9d5bc4eac089973075e0803 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Wed, 25 Feb 2026 21:10:12 +0900 Subject: [PATCH] init --- .env | 26 ++++++++++++++++++++++++++ .gitignore | 2 -- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..53dd45f --- /dev/null +++ b/.env @@ -0,0 +1,26 @@ +## Database +DB_HOST=ncue.net +DB_PORT=5432 +DB_NAME=ncue +DB_USER=ncue +DB_PASSWORD=REPLACE_ME +TABLE=ncue_user + +## Auth0 (server-side) +# Auth0 Domain (without https://) +AUTH0_DOMAIN=ncue.net +# Auth0 SPA Application Client ID +AUTH0_CLIENT_ID=g5RDfax7FZkKzXYvXOgku3Ll8CxuA4IM +# Google connection name (usually google-oauth2) +AUTH0_GOOGLE_CONNECTION=google-oauth2 + +## 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 + diff --git a/.gitignore b/.gitignore index 5968e44..ac0f04a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,5 @@ .DS_Store node_modules/ -.env -.env.* # Python .venv/