70 lines
1.4 KiB
INI
70 lines
1.4 KiB
INI
[DEFAULT]
|
|
base_dir: .
|
|
|
|
[database]
|
|
; http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html
|
|
url: sqlite:///%(base_dir)s/mandaye.db
|
|
|
|
[ldap]
|
|
; use by ldap backend
|
|
url: ldap://127.0.0.1
|
|
bind_dn: cn=admin,dc=acompany,dc=org
|
|
bind_password: AdminPassword
|
|
base_dn: ou=mandaye,dc=acompany,dc=org
|
|
|
|
[dirs]
|
|
module_name: mandaye
|
|
config_root: %(base_dir)s/conf.d
|
|
data_dir: %(base_dir)s/data
|
|
static_url: /mandaye/static
|
|
templates_directories:
|
|
static_root:
|
|
|
|
[debug]
|
|
debug: false
|
|
use_long_trace: true
|
|
log_debug: false
|
|
logger_name: mandaye
|
|
; you need to install python-raven for this feature
|
|
sentry_dsn:
|
|
|
|
[mandaye]
|
|
toolbar: true
|
|
offline_toolbar: false
|
|
a2_auto_connection: false
|
|
; sql or ldap
|
|
storage_backend: sql
|
|
auto_decompress: true
|
|
; if you want to encypt password set to true
|
|
; you need to install pycrypto for this feature
|
|
encrypt_sp_password: false
|
|
; if encrypt_sp_password then you need to choose a secret
|
|
; must be a 16, 24, or 32 bytes long
|
|
encrypt_secret:
|
|
|
|
[template_vars]
|
|
idp_url: https://www.identity-hub.com
|
|
|
|
[authentifications]
|
|
saml2: mandaye.auth.saml2.SAML2Auth
|
|
|
|
[mappers]
|
|
; my_mapper: mandaye_toto.mappers.titi
|
|
|
|
[session]
|
|
; file, dbm, memory or memcached
|
|
; if memcached you need to install python-memcached and memcached
|
|
type: memcached
|
|
url: 127.0.0.1:11211
|
|
cookie_expires: true
|
|
timeout: 3600
|
|
data_dir: %(base_dir)s/data
|
|
|
|
[email]
|
|
notification: false
|
|
prefix: [Mandaye]
|
|
smtp_host: localhost
|
|
smtp_port: 25
|
|
from: traceback@example.com
|
|
to: admin+mandaye@example.com
|