2017-12-16 23:03:03 +01:00
|
|
|
---
|
|
|
|
core:
|
|
|
|
listen:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
|
|
|
|
ldap:
|
2017-12-18 20:28:54 +01:00
|
|
|
host: localhost
|
2017-12-16 23:03:03 +01:00
|
|
|
port: 389
|
|
|
|
|
|
|
|
encryption: TLSv1.2 # Can either be None or TLSv1.2. Default: None
|
|
|
|
ciphers: "HIGH"
|
2017-12-18 20:28:54 +01:00
|
|
|
validate: True # Can either be True or False. Default: False
|
|
|
|
ca_certs: openldap/cert.pem
|
2017-12-16 23:03:03 +01:00
|
|
|
|
2020-10-10 18:45:16 +02:00
|
|
|
# username: uid=phi,ou=Services,dc=unit,dc=macaomilano,dc=org
|
|
|
|
# password: phi
|
|
|
|
username: cn=root,dc=unit,dc=macaomilano,dc=org
|
|
|
|
password: root
|
2017-12-16 23:03:03 +01:00
|
|
|
|
2020-10-10 23:27:08 +02:00
|
|
|
base_dn: dc=unit,dc=macaomilano,dc=org
|
|
|
|
|
2017-12-16 23:03:03 +01:00
|
|
|
|
|
|
|
logging:
|
|
|
|
version: 1
|
|
|
|
formatters:
|
|
|
|
default:
|
|
|
|
format: '[%(name)s %(levelname)s] %(message)s'
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
console:
|
|
|
|
class: logging.StreamHandler
|
|
|
|
formatter: default
|
|
|
|
stream: ext://sys.stdout
|
|
|
|
file:
|
|
|
|
class: logging.FileHandler
|
|
|
|
formatter: default
|
|
|
|
filename: phi.log
|
|
|
|
|
|
|
|
loggers:
|
|
|
|
phi:
|
2020-10-12 18:38:13 +02:00
|
|
|
level: WARNING
|
2017-12-16 23:03:03 +01:00
|
|
|
handlers: [console, file]
|
|
|
|
aiohttp:
|
2020-10-12 18:38:13 +02:00
|
|
|
level: WARNING
|
2017-12-16 23:03:03 +01:00
|
|
|
handlers: [console, file]
|
2017-12-18 20:28:54 +01:00
|
|
|
ldap3:
|
2017-12-21 13:44:54 +01:00
|
|
|
level: WARNING
|
2017-12-18 20:28:54 +01:00
|
|
|
handlers: [console, file]
|