init
This commit is contained in:
26
.env
Normal file
26
.env
Normal file
@@ -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
|
||||||
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,7 +1,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules/
|
node_modules/
|
||||||
.env
|
|
||||||
.env.*
|
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
.venv/
|
.venv/
|
||||||
|
|||||||
Reference in New Issue
Block a user