1
|
[DEFAULT]
|
2
|
base_dir: .
|
3
|
|
4
|
[database]
|
5
|
; http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html
|
6
|
url: sqlite:///%(base_dir)s/mandaye.db
|
7
|
|
8
|
[ldap]
|
9
|
; use by ldap backend
|
10
|
url: ldap://127.0.0.1
|
11
|
bind_dn: cn=admin,dc=acompany,dc=org
|
12
|
bind_password: AdminPassword
|
13
|
base_dn: ou=mandaye,dc=acompany,dc=org
|
14
|
|
15
|
[dirs]
|
16
|
config_root: %(base_dir)s/conf.d
|
17
|
data_dir: %(base_dir)s/data
|
18
|
static_root: %(base_dir)s/mandaye/static
|
19
|
static_url: /mandaye/static
|
20
|
templates_directories:
|
21
|
|
22
|
[debug]
|
23
|
debug: false
|
24
|
use_long_trace: true
|
25
|
log_debug: false
|
26
|
logger_name: mandaye
|
27
|
; you need to install python-raven for this feature
|
28
|
sentry_dsn:
|
29
|
|
30
|
[mandaye]
|
31
|
toolbar: true
|
32
|
offline_toolbar: false
|
33
|
a2_auto_connection: true
|
34
|
; sql or ldap
|
35
|
storage_backend: ldap
|
36
|
auto_decompress: true
|
37
|
; if you want to encypt password set to true
|
38
|
; you need to install pycrypto for this feature
|
39
|
encrypt_sp_password: false
|
40
|
; if encrypt_sp_password then you need to choose a secret
|
41
|
; must be a 16, 24, or 32 bytes long
|
42
|
encrypt_secret:
|
43
|
|
44
|
[template_vars]
|
45
|
; my_var: toto
|
46
|
|
47
|
[authentifications]
|
48
|
saml2: mandaye.auth.saml2.SAML2Auth
|
49
|
|
50
|
[mappers]
|
51
|
; my_mapper: mandaye_toto.mappers.titi
|
52
|
|
53
|
[session]
|
54
|
; file, dbm, memory or memcached
|
55
|
; if memcached you need to install python-memcached and memcached
|
56
|
type: memcached
|
57
|
url: 127.0.0.1:11211
|
58
|
cookie_expires: true
|
59
|
timeout: 3600
|
60
|
data_dir: %(base_dir)s/data
|
61
|
|
62
|
[email]
|
63
|
notification: false
|
64
|
prefix: [Mandaye]
|
65
|
smtp_host: localhost
|
66
|
smtp_port: 25
|
67
|
from: traceback@example.com
|
68
|
to: admin+mandaye@example.com
|