-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
38 lines (34 loc) · 1.16 KB
/
.env.example
File metadata and controls
38 lines (34 loc) · 1.16 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
# Server Configuration
PORT=3232
BASE_URI=http://localhost:3232
# Auth Mode Configuration
# Options: 'internal' or 'external'
#
# - internal: Run auth server in-process (suitable for demo/development)
# `npm run dev:internal` starts the server in this mode.
# This mode is the default when AUTH_MODE is not set.
#
# - external: Use external auth server (production pattern)
# `npm run dev:external` starts the server in this mode,
# and also starts the demo auth server
#
AUTH_MODE=internal
# External Auth Server URL (required if AUTH_MODE=external,
# ignored if AUTH_MODE=internal)
#
# Examples:
# - Demo auth server running locally: http://localhost:3001
# - Auth0: https://your-tenant.auth0.com
# - Okta: https://your-domain.okta.com
#
AUTH_SERVER_URL=http://localhost:3001
# Redis Configuration (optional)
# If not provided, session management will use in-memory storage
# (sessions will be lost on server restart)
#
REDIS_URL=redis://localhost:6379
REDIS_TLS=0
# NODE_ENV controls Redis connection failure behavior:
# - development: Continue running if Redis connection fails (with warning)
# - production: Exit immediately if Redis connection fails
NODE_ENV=development