-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample-settings.json
47 lines (47 loc) · 1.35 KB
/
example-settings.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
{
"DEBUG": true,
"PREFERRED_URL_SCHEME": "https",
"LOGGER_NAME": "rerest",
"LOGFILE": "rerest.log",
"MQ": {
"SERVER": "127.0.0.1",
"PORT": 5671,
"USER": "guest",
"PASSWORD": "guest",
"VHOST": "/",
"SSL": true
},
"MONGODB_SETTINGS": {
"DB": "test",
"USERNAME": "username",
"PASSWORD": "password",
"HOST": "127.0.0.1",
"PORT": 27017,
"SSL": "true"
},
"PLAYBOOK_UI": false,
"AUTHORIZATION_CALLABLE": "rerest.authorization:no_authorization",
"AUTHORIZATION_ENVIRONMENT_CALLABLE": "rerest.authorization.envrestrictions:environment_flat_files",
"AUTHORIZATION_CONFIG": {
"LDAP_URI": "ldap://127.0.0.1",
"LDAP_USER": "",
"LDAP_PASSWORD": "",
"LDAP_SEARCH_BASE": "dc=example,dc=com",
"LDAP_MEMBER_ID": "memberUid",
"LDAP_FIELD_MATCH": "cn",
"LDAP_LOOKUP_TABLE": {
"someldapgroup": ["group1", "group2"],
"superadmins": ["*"]
}
},
"GROUP_ENVIRONMENT_MAPPING": {
"someldapgroup": ["dev", "qa"],
"superadmins": ["dev", "qa", "stage", "production"]
},
"ENVIRONMENT_FLAT_FILES": {
"dev": "test/dev.txt",
"qa": "test/qa.txt",
"stage": "test/stage.txt",
"production": "test/production.txt"
}
}