-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
config.test.json
57 lines (57 loc) 路 1.55 KB
/
config.test.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"app": {
"name": "goyave",
"environment": "test",
"debug": false,
"defaultLanguage": "en-US"
},
"server": {
"maintenance": false,
"protocol": "http",
"domain": "",
"port": 1235,
"httpsPort": 1236,
"timeout": 10,
"maxUploadSize": 10
},
"database": {
"connection": "none",
"host": "127.0.0.1",
"port": 3306,
"name": "goyave",
"username": "goyave",
"password": "secret",
"options": "charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=true&loc=Local",
"maxOpenConnections": 20,
"maxIdleConnections": 20,
"maxLifetime": 300,
"autoMigrate": false,
"config": {
"skipDefaultTransaction": false,
"dryRun": false,
"prepareStmt": true,
"disableNestedTransaction": false,
"allowGlobalUpdate": false,
"disableAutomaticPing": false,
"disableForeignKeyConstraintWhenMigrating": false
}
},
"auth": {
"jwt": {
"expiry": 300.0,
"secret": "jwt-secret",
"rsa": {
"private": "resources/rsa/private.pem",
"public": "resources/rsa/public.pem"
},
"ecdsa": {
"private": "resources/ecdsa/private.pem",
"public": "resources/ecdsa/public.pem"
}
},
"basic": {
"username": "admin",
"password": "admin"
}
}
}