-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.json.example
More file actions
33 lines (33 loc) · 800 Bytes
/
env.json.example
File metadata and controls
33 lines (33 loc) · 800 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
{
"app": {
"name": "CDN API",
"env": "development"
},
"port": 3000,
"directories": [
"./storage/**/**"
],
"allow": {
"origins": [
"http://localhost:3000",
"http://localhost:5173"
],
"patterns": [
"^https?://.*\\.stackdev\\.cloud$"
]
},
"database": {
"dbPath": "src/data/app.db",
"autoRunMigrations": true,
"autoRunSeeds": false
},
"auth": {
"jwtSecret": "your-super-secret-jwt-key-min-32-characters-long",
"jwtExpiresIn": "1h",
"refreshTokenExpiresIn": "7d",
"bcryptRounds": 12,
"maxLoginAttempts": 5,
"lockoutDuration": 15,
"maxSessionsPerUser": 5
}
}