-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
34 lines (29 loc) · 808 Bytes
/
.env.example
File metadata and controls
34 lines (29 loc) · 808 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
# Database Configuration
DATABASE_TYPE=postgres
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=password
DATABASE_NAME=postgres_db
DATABASE_DRIVER=postgres
DATABASE_SSL_MODE=disable
# Database Connection Pooling
DATABASE_MAX_OPEN_CONNS=25
DATABASE_MAX_IDLE_CONNS=5
DATABASE_CONN_MAX_LIFETIME=1h
# NoSQL / MongoDB Configuration (optional)
DATABASE_AUTH_SOURCE=admin
DATABASE_REPLICA_SET=
DATABASE_URI=
DATABASE_USE_SRV=false
DATABASE_TIMEOUT=10s
# Server Configuration (if your app uses it)
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
# Redis Configuration (if your app uses it)
REDIS_ENABLED=true
REDIS_URL=redis://localhost:6379
# JWT Configuration (if your app uses it)
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
TOKEN_EXPIRY=3600
REFRESH_EXPIRY=86400