2017-12-16 23:03:03 +01:00
|
|
|
---
|
|
|
|
core:
|
|
|
|
listen:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 8080
|
2022-02-03 00:46:45 +01:00
|
|
|
# generated with: openssl rand -hex 16
|
|
|
|
cookiestore_secret: "e41133b5cfdd8660815b8d5cc2c74843"
|
2017-12-16 23:03:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
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"
|
2020-08-29 20:06:08 +02:00
|
|
|
validate: False # Can either be True or False. Default: False
|
2017-12-18 20:28:54 +01:00
|
|
|
ca_certs: openldap/cert.pem
|
2017-12-16 23:03:03 +01:00
|
|
|
|
2022-02-03 00:46:45 +01: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
|
|
|
|
|
|
|
base_dn: dc=unit,dc=macaomilano,dc=org
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
level: DEBUG
|
|
|
|
handlers: [console, file]
|
2022-02-01 23:29:48 +01:00
|
|
|
asyncio:
|
|
|
|
level: DEBUG
|
|
|
|
handlers: [console, file]
|
|
|
|
propagate: yes
|
2017-12-16 23:03:03 +01:00
|
|
|
aiohttp:
|
|
|
|
level: DEBUG
|
|
|
|
handlers: [console, file]
|
2022-02-01 23:29:48 +01:00
|
|
|
propagate: yes
|
|
|
|
bonsai:
|
|
|
|
level: DEBUG
|
2017-12-18 20:28:54 +01:00
|
|
|
handlers: [console, file]
|