-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 993 Bytes
/
.env.example
File metadata and controls
38 lines (30 loc) · 993 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
31
32
33
34
35
36
37
PORT=3000
MODE=development
BACKEND_URL=http://localhost:3000
FRONTEND_URL=http://localhost:5173
# Docker Postgres defaults
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/accesslayer
DB_QUERY_TIMEOUT_MS=5000
APP_SECRET=your_32_character_long_secret_string_here
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:3000/api/v1/admin/auth/google/callback
GMAIL_USER=
GMAIL_APP_PASSWORD=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
PAYSTACK_SECRET_KEY=
PAYSTACK_PUBLIC_KEY=
# API Configuration
API_VERSION=1.0.0
ENABLE_API_VERSION_HEADER=true
ENABLE_SCHEMA_VERSION_HEADER=true
ENABLE_RESPONSE_TIMING=true
ENABLE_REQUEST_LOGGING=true
# Indexer Configuration
BACKGROUND_JOB_LOCK_TTL_MS=300000
# Indexer cursor stale-age warning threshold in milliseconds (default: 300000 = 5 minutes)
INDEXER_CURSOR_STALE_AGE_WARNING_MS=300000
# Time in milliseconds before the indexer is considered stale
INDEXER_HEARTBEAT_STALE_THRESHOLD_MS=300000