-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.py.example
More file actions
54 lines (48 loc) · 1.57 KB
/
config.py.example
File metadata and controls
54 lines (48 loc) · 1.57 KB
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
# SECRET_KEY="" for Flask in instance/secrets.py
### Database Configuration (required)
# SQLITE
#DB_TYPE="SQLITE"
#DB_DATABASE="lufa"
# Postgres
#DB_TYPE="POSTGRES"
#DB_HOST="localhost"
#DB_DATABASE="lufa"
#DB_USER="lufa"
# DB_PASSWORD="" in instance/secrets.py
### API (required)
# API_KEYS=[""] in instance/secrets.py
# API_KEYS_RO=[""] in instance/secrets.py
### Logging (optional)
#LOG_LEVEL="DEBUG"
#LOG_FILE_PATH="lufa.log"
### Authentication (required)
# Local
#AUTH="LOCAL"
#AUTH_USER="admin"
#AUTH_PASSWORD="pass"
# LDAP
#AUTH="LDAP"
#LDAP_PORT=636
#LDAP_USE_SSL=True
#LDAP_HOST="example.com"
#LDAP_BASE_DN="DC=example,DC=com"
#LDAP_GROUP_SEARCH_SCOPE="SUBTREE"
#LDAP_USER_LOGIN_ATTR="sAMAccountName"
#LDAP_USER_SEARCH_SCOPE="SUBTREE"
# login group in memberOf (is recursive)
#LDAP_USER_OBJECT_FILTER="(objectclass=person)(memberOf:1.2.840.113556.1.4.1941:=CN=YourGroupName,OU=YourGroupsOU,DC=example,DC=com)"
#LDAP_BIND_USER_DN="CN=YourUser,OU=YourGroupsOU,DC=example,DC=com"
# LDAP_BIND_USER_PASSWORD="" in instance/secrets.py
### AWX (optional)
#AWX_BASE_URL="https://awx.example.com" # for linking to awx
# to query infos from AWX
#AWX_API_TOKEN in instance/secrets.py
#AWX_SSL_VERIFY=True # set to False if using internal certificates not in OS certificate store
### Login UI customization (optional)
# Configure labels and intro text shown on the login page.
# If omitted, defaults are used by the application.
#LOGIN_TITLE = "Sign in"
#LOGIN_INTRO = "Please sign in with your account."
#LOGIN_USERNAME_LABEL = "Username"
#LOGIN_PASSWORD_LABEL = "Password"
#LOGIN_SUBMIT_LABEL = "Sign in"