-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.config.json
52 lines (52 loc) · 1.06 KB
/
example.config.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
{
"gin_mode": "debug",
"app_env": "local",
"app_name": "Example Clean Architecture",
"server": {
"port": 8080,
"host": "localhost"
},
"database": {
"host": "localhost",
"user": "postgres",
"password": "password",
"name": "postgres",
"port": 5432,
"driver": "postgres",
"schema": "clean-arquitecture-go",
"sslmode": "",
"timezone": ""
},
"cors": {
"allow_credentials": true,
"max_age": 12,
"allowed_origins": [
"*"
],
"allow_methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS"
],
"allow_headers": [
"Origin",
"Content-Length",
"Content-Type"
],
"expose_headers": [
"*"
]
},
"jwt": {
"secret": "secret",
"expiration": "1d"
},
"slack": {
"access_token": "",
"channel": ""
}
}