-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
40 lines (40 loc) · 940 Bytes
/
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
{
"postgresql_hosts": [
{
"host": "localhost:5432",
"admin_auth_type": "trust"
},
{
"host": "example.com:5432",
"admin_auth_type": "password",
"admin_username": "postgres",
"admin_password": "mypassword"
},
{
"host": "ldap.example.com:389",
"admin_auth_type": "ldap",
"admin_username": "admin",
"admin_password": "ldappassword"
},
{
"host": "cert.example.com:5432",
"admin_auth_type": "cert",
"admin_username": "cert_user",
"admin_password": "certpassword"
}
],
"listen_port": "8080",
"max_conns": 100,
"cache_ttl": 3600,
"health_check_interval": 60,
"replication_mode": false,
"query_cache_ttl": 600,
"logging": {
"log_to_file": true,
"log_to_console": true,
"log_to_syslog": false,
"log_dir": "/var/log/my_app",
"syslog_facility": "LOG_USER",
"syslog_process_name": "my_app"
}
}