-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
36 lines (29 loc) · 828 Bytes
/
Copy pathenv.example
File metadata and controls
36 lines (29 loc) · 828 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
# Copy this to .env and fill in your values.
# .env is gitignored — never commit real credentials.
APP_ENV=development
PORT=8080
# Aurora PostgreSQL
DB_HOST=your-aurora-cluster.cluster-xxxx.us-east-1.rds.amazonaws.com
DB_PORT=5432
DB_NAME=people
DB_USER=api_user
DB_PASSWORD=your-password-here
DB_SSLMODE=require
DB_MAX_OPEN_CONNS=25
DB_MAX_IDLE_CONNS=10
# Redis
REDIS_ADDR=localhost:6379
REDIS_PASSWORD=
REDIS_DB=0
# Rate limiting
RATE_LIMIT_RPS=10
RATE_LIMIT_BURST=20
ACCOUNT_RATE_LIMIT_RPS=5
ACCOUNT_RATE_LIMIT_BURST=10
# Cache
CACHE_TTL_SECONDS=300
# Master key — used ONLY by Laravel for POST/PATCH/DELETE /api/v1/keys
# Must match DATA_API_MASTER_KEY in the Laravel .env
MASTER_KEY=dev-master-change-me
# Legacy alias (optional): if MASTER_KEY is unset, API_KEY is used as master
# API_KEY=dev-master-change-me