aboutsummaryrefslogtreecommitdiff
path: root/data/kanboard/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/kanboard/config.php')
-rw-r--r--data/kanboard/config.php59
1 files changed, 59 insertions, 0 deletions
diff --git a/data/kanboard/config.php b/data/kanboard/config.php
new file mode 100644
index 0000000..b8a8d69
--- /dev/null
+++ b/data/kanboard/config.php
@@ -0,0 +1,59 @@
1<?php
2
3// Data folder (must be writeable by the web server user and absolute)
4define('DATA_DIR', '/var/www/app/data');
5
6// Enable/Disable debug
7define('DEBUG', false);
8
9// Available log drivers: syslog, stderr, stdout, system or file
10define('LOG_DRIVER', 'system');
11
12// Plugins directory
13define('PLUGINS_DIR', __DIR__.DIRECTORY_SEPARATOR.'plugins');
14
15// Available cache drivers are "file" and "memory"
16define('CACHE_DRIVER', 'memory');
17
18// Enable/disable the reverse proxy authentication
19define('REVERSE_PROXY_AUTH', true);
20
21// Header name to use for the username
22define('REVERSE_PROXY_USER_HEADER', 'HTTP_REMOTE_USER');
23
24// Username of the admin, by default blank
25define('REVERSE_PROXY_DEFAULT_ADMIN', 'samadmin');
26
27// Header name to use for the user email
28define('REVERSE_PROXY_EMAIL_HEADER', 'HTTP_REMOTE_EMAIL');
29
30// Header name to use for the user full name
31define('REVERSE_PROXY_FULLNAME_HEADER', 'HTTP_REMOTE_NAME');
32
33// Default domain to use for setting the email address
34define('REVERSE_PROXY_DEFAULT_DOMAIN', 'chudnick.com');
35
36// Enable/disable remember me authentication
37define('REMEMBER_ME_AUTH', true);
38
39// Hide login form, useful if all your users use Google/Github/ReverseProxy authentication
40define('HIDE_LOGIN_FORM', true);
41
42// Disabling logout (useful for external SSO authentication)
43define('DISABLE_LOGOUT', true);
44
45// Enable captcha after 3 authentication failure
46define('BRUTEFORCE_CAPTCHA', 3);
47
48// Lock the account after 6 authentication failure
49define('BRUTEFORCE_LOCKDOWN', 6);
50
51// Lock account duration in minute
52define('BRUTEFORCE_LOCKDOWN_DURATION', 15);
53
54// Session duration in second (0 = until the browser is closed)
55// See http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
56define('SESSION_DURATION', 0);
57
58// Session handler: db or php
59define('SESSION_HANDLER', 'db');