-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
64 lines (50 loc) · 1.41 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Client port of dev server, defaults to 3000 if not set
CLIENT_PORT=3000
# Server port of dev server, defaults to 8000 if not set
SERVER_PORT=8000
# Database configurations
DB_PORT=3306
DB_PASSWORD=clubsdbpwunsafeuwu
DB_NAME=sparcs-clubs
DATABASE_URL=mysql://root:${DB_PASSWORD}@localhost:${DB_PORT}/${DB_NAME}
# Server configurations
SECRET_KEY=wearethebestsparcsclubs!
# Node Env
NODE_ENV=local
# FE API CONFIG
NEXT_PUBLIC_API_URL="http://localhost:8000"
NEXT_PUBLIC_API_MOCK_MODE=0
# "production", "stage", "demo", "dev"
# to opt-out of feature flags, specify "dev"
NEXT_PUBLIC_APP_MODE=stage
# Feature Flags (also uses APP_MODE)
# ㄴ Unused, for version only
NEXT_PUBLIC_FLAGS_VERSION=1.0.0
# ㄴ Per-Cycle Feature Flags (keep in sync with web/.../useFeatureFlagStore.ts)
NEXT_PUBLIC_FLAGS_REGISTER_CLUB=1
NEXT_PUBLIC_FLAGS_REGISTER_MEMBER=1
NEXT_PUBLIC_FLAGS_NO_RELEASE=0 # All-Else Feature Flag
# Manged by CI/CD
NEXT_PUBLIC_BUILD_TIME=
# JWT CONFIG
JWT_SECRET=secret
JWT_EXPIRES_IN=3600000
ACCESS_TOKEN_SECRET_KEY=access
REFRESH_TOKEN_SECRET_KEY=refresh
ACCESS_TOKEN_EXPIRES_IN=3600000
REFRESH_TOKEN_EXPIRES_IN=2592000000
# SPARCS SSO CONFIG
SSO_CLIENT_ID=
SSO_SECRET_KEY=
# LOCAL SSO CONFIG
USER_KU_STD_NO=20200683
USER_MAIL="hippo0419@kaist.ac.kr"
USER_KU_KAIST_ORG_ID=9876
USER_SID=246810
USER_KU_KNAME="하승종"
USER_KU_PERSON_TYPE="Student"
# S3 CONFIG
S3_ACCESS_KEY=
S3_SECRET_ACCESS_KEY=
S3_REGION=
S3_BUCKET_NAME=