-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
42 lines (42 loc) · 1.08 KB
/
app.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
{
"project_name": "PowerSSO",
"server": {
"version": "1.0.0",
"port": ":5000",
"pprof_port": ":5555",
"mode": "dev",
"cookie_name": "jwt-power-sso",
"ssl": false,
"ctx_default_timeout": 12,
"read_timeout": 5,
"write_timeout": 5,
"srf": true,
"debug": false,
"start_http": true,
"start_grpc": false,
"access_log_directory": "/var/log/powersso/access.log",
"error_log_directory": "/var/log/powersso/error.log",
"permission_base": "github.com/isaqueveras/powersso",
"access_control_allow_origin": "*",
"open_sessions_per_user": 5
},
"database": {
"host": "localhost",
"port": 5432,
"user": "postgres",
"password": "postgres",
"dbname": "power-sso",
"sslmode": false,
"max_open_conns": 60,
"max_idle_conns": 30,
"conn_max_life_time": 120,
"conn_max_idle_time": 20,
"timeout": 2
},
"secrets_duration": 2592000,
"secrets_tokens": {
"user": "kjnfdjksdbfsdhfbdskjfnamkndkn",
"admin": "oCb9A8T7zHyx8MXBFb1aEouAXnBg2",
"integration": "krIhDsgYFY3ByJLony15bDSzBAsl5"
}
}