-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
59 lines (59 loc) · 2.34 KB
/
Copy path.env.example
File metadata and controls
59 lines (59 loc) · 2.34 KB
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
# Local development example:
# postgres://sastpeople:sast_dev_password@localhost:55432/sastpeople_local
DATABASE_URL=
SESSION_SECRET=
APP_ID=
APP_SECRET=
# Public People base URL used in Feishu bot cards and callbacks.
PEOPLE_PUBLIC_BASE_URL=https://nextpeople.sast.fun
# Feishu developer console must allow this exact redirect URL.
FEISHU_OAUTH_REDIRECT_URI=http://localhost:3000/api/auth/feishu
# Feishu app capabilities used by interview scheduling:
# - Calendar v4 event/create, attendee/create, freebusy/list
# - VC v1 reserve/apply
# - IM v1 message/create with bot ability enabled
FEISHU_EVENT_VERIFICATION_TOKEN=
FEISHU_EVENT_ENCRYPT_KEY=
# Local only. Production must configure INNGEST_SIGNING_KEY instead.
INNGEST_DEV=1
# Optional chat_id for privacy-safe interview schedule group notifications.
FEISHU_INTERVIEW_CHAT_ID=
NONCESTR=
LINK_CLIENT_ID=
LINK_CLIENT_SECRET=
# Link API base, for JSON APIs such as /user/profile and /admin/users
LINK_API_BASE_URL=
# Link OAuth base, for /oauth/authorize and /oauth/token
LINK_AUTH_BASE_URL=
LINK_OAUTH_SCOPES=openid profile
# Use only before Link real APIs are ready.
LINK_USE_MOCK=false
# Local-only test switch: force Link login session role to lecturer and skip
# Link lark identity union_id match when binding Feishu OAuth.
LINK_LOGIN_FEISHU_TEST_MOCK=false
# Keep false outside local development. When false, old People user table fallback is disabled.
LINK_ALLOW_LEGACY_FALLBACK=false
# Keep false for v3. Old Feishu/test login writes the legacy People user table.
PEOPLE_ALLOW_LEGACY_AUTH=false
# Link profile page opened by the read-only People profile UI.
NEXT_PUBLIC_LINK_PROFILE_URL=
EMAIL_SMTP_HOST=smtp.feishu.cn
EMAIL_SMTP_PORT=465
EMAIL_SMTP_SECURE=true
EMAIL_SMTP_USER=recruitment@sast.fun
EMAIL_FROM='"SAST People" <recruitment@sast.fun>'
EMAIL_PASSWORD=
# Non-production email safety guard. Defaults to b24150524@njupt.edu.cn when empty.
EMAIL_TEST_RECIPIENT=b24150524@njupt.edu.cn
EMAIL_RETRY_MAX_ATTEMPTS=5
EMAIL_RETRY_BASE_DELAY_SECONDS=60
EMAIL_RETRY_MAX_DELAY_SECONDS=3600
EMAIL_RETRY_SCAN_LIMIT=50
EMAIL_SEND_RATE_LIMIT_PER_MINUTE=120
EMAIL_ATTEMPT_RETENTION_DAYS=180
EMAIL_WEBHOOK_SECRET=
SENTRY_DSN=
NEXT_PUBLIC_SENTRY_DSN=
# Local builds keep the Sentry build plugin off to avoid optional build-manager warnings.
# Set to true only when Sentry build-time processing is intentionally needed.
SENTRY_BUILD_PLUGIN=false