forked from Lilly-Protocol/lily-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (20 loc) · 854 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (20 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
NODE_ENV=development
PORT=4000
APP_NAME=Lily Backend
# Optional build commit SHA exposed in health and startup diagnostics.
BUILD_COMMIT=
API_PREFIX=/api/v1
LOG_LEVEL=info
CORS_ORIGINS=http://localhost:3000,http://localhost:4000
BODY_SIZE_LIMIT=1mb
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# TRUST_PROXY: "false" (default), "true", or a non-negative integer hop count.
# Numeric values specify how many proxy hops to trust (e.g., 1 for a single reverse proxy).
# WARNING: Setting "true" trusts ALL proxies — only use in fully trusted environments.
TRUST_PROXY=false
# Optional API key authentication. When set, mutating routes (POST, PATCH, DELETE)
# require this value in the configured header.
# AUTH_API_KEY=your-secret-api-key-here
# Header name for API key authentication (default: x-api-key).
# AUTH_API_KEY_HEADER=x-api-key