-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.example.json
54 lines (54 loc) · 1.42 KB
/
config.example.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
{
"app": {
"name": "goyave-blog-example",
"environment": "localhost",
"debug": true,
"defaultLanguage": "en-US"
},
"server": {
"host": "127.0.0.1",
"domain": "",
"port": 8080,
"writeTimeout": 10,
"readTimeout": 10,
"readHeaderTimeout": 10,
"idleTimeout": 20,
"websocketCloseTimeout": 10,
"maxUploadSize": 10.0,
"proxy": {
"protocol": "http",
"host": "",
"port": 80,
"base": ""
}
},
"database": {
"connection": "postgres",
"host": "127.0.0.1",
"port": 5432,
"name": "blog",
"username": "dbuser",
"password": "secret",
"options": "sslmode=disable application_name=goyave-blog-example",
"maxOpenConnections": 20,
"maxIdleConnections": 20,
"maxLifetime": 300,
"defaultReadQueryTimeout": 20000,
"defaultWriteQueryTimeout": 40000,
"config": {
"skipDefaultTransaction": false,
"dryRun": false,
"prepareStmt": true,
"disableNestedTransaction": false,
"allowGlobalUpdate": false,
"disableAutomaticPing": false,
"disableForeignKeyConstraintWhenMigrating": false
}
},
"auth": {
"jwt": {
"secret": "jwt-secret",
"expiry": 3000
}
}
}