-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
30 lines (28 loc) · 752 Bytes
/
env.example
File metadata and controls
30 lines (28 loc) · 752 Bytes
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
# Postgres
POSTGRES_USER=app
POSTGRES_PASSWORD=
POSTGRES_DB=
DATABASE_URL=
# Server
PORT=3001
# Leave blank to use safe defaults (production: 1 proxy hop, non-prod: disabled).
# Set to true/false/number/CIDR list if you need custom behavior.
TRUST_PROXY=
CORS_ORIGIN=https://mydomain.com
BODY_LIMIT=1mb
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX=300
SUBMIT_RATE_WINDOW_MS=60000
SUBMIT_RATE_MAX=30
# public | hybrid | signed (public accepts unsigned submissions)
INGEST_MODE=public
# Required when INGEST_MODE=signed
INGEST_HMAC_SECRET=
POW_ENABLED=0
POW_DIFFICULTY=0
SUBMIT_TOKEN_TTL_SECONDS=60
# Frontend
INTERNAL_API_BASE_URL=https://api.mydomain.com
APP_URL=https://app.mydomain.com
NEXT_PUBLIC_APP_URL=https://app.mydomain.com
ENABLE_QUERY_MOCK=0