-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.07 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
# Copy to .env on the server and fill in real values. Never commit the real .env.
# --- Database ---
DB_PASSWORD=change-me-strong-password
# --- JWT ---
# Defaults to "https://auth.shenxianovo.com" if omitted; RSA keys are NOT here (see secrets/).
JWT_ISSUER=https://auth.shenxianovo.com
JWT_AUDIENCE=https://auth.shenxianovo.com
# --- GitHub OAuth ---
# Callback path is fixed in code: /api/v1/auth/github/callback
GITHUB_OAUTH_CLIENT_ID=
GITHUB_OAUTH_CLIENT_SECRET=
# --- Google OAuth ---
# Callback path is fixed in code: /api/v1/auth/google/callback
GOOGLE_OAUTH_CLIENT_ID=
GOOGLE_OAUTH_CLIENT_SECRET=
# --- Resend email ---
RESEND_API_KEY=
# --- OIDC provider (OpenIddict) ---
# Encrypts authorization codes / refresh tokens. MUST stay stable across
# restarts — changing it invalidates every in-flight code and refresh token.
# Generate once: openssl rand -base64 32
OIDC_ENCRYPTION_KEY=
# OIDC clients (OpenList etc.) are registered in the admin UI, not here.
# --- Admin ---
# Username promoted to Admin at startup (register it first, then restart).
ADMIN_BOOTSTRAP_USERNAME=