1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/config.default.php

162 lines
5.3 KiB
PHP
Raw Normal View History

2014-07-20 12:26:15 +02:00
<?php
2015-08-16 17:04:56 +02:00
/*******************************************************************/
/* Rename this file to config.php if you want to change the values */
/*******************************************************************/
2015-04-21 17:56:16 +02:00
2015-01-16 14:23:05 +01:00
// Enable/Disable debug
define('DEBUG', false);
2015-02-25 17:29:06 +01:00
// Debug file path
define('DEBUG_FILE', __DIR__.'/data/debug.log');
// Folder for uploaded files, don't forget the trailing slash
define('FILES_DIR', 'data/files/');
2014-10-22 19:59:09 +02:00
// E-mail address for the "From" header (notifications)
2014-12-22 19:15:38 +01:00
define('MAIL_FROM', 'notifications@kanboard.local');
2014-10-22 19:59:09 +02:00
2015-08-16 17:04:56 +02:00
// Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid"
2014-10-22 19:59:09 +02:00
define('MAIL_TRANSPORT', 'mail');
// SMTP configuration to use when the "smtp" transport is chosen
define('MAIL_SMTP_HOSTNAME', '');
define('MAIL_SMTP_PORT', 25);
define('MAIL_SMTP_USERNAME', '');
define('MAIL_SMTP_PASSWORD', '');
define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"
// Sendmail command to use when the transport is "sendmail"
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
2015-08-16 17:04:56 +02:00
// Postmark API token (used to send emails through their API)
define('POSTMARK_API_TOKEN', '');
// Mailgun API key (used to send emails through their API)
define('MAILGUN_API_TOKEN', '');
// Mailgun domain name
define('MAILGUN_DOMAIN', '');
// Sendgrid API configuration
define('SENDGRID_API_USER', '');
define('SENDGRID_API_KEY', '');
2014-10-22 19:59:09 +02:00
// Database driver: sqlite, mysql or postgres (sqlite by default)
2014-07-20 12:26:15 +02:00
define('DB_DRIVER', 'sqlite');
2014-10-22 19:59:09 +02:00
// Mysql/Postgres username
2014-07-20 12:26:15 +02:00
define('DB_USERNAME', 'root');
2014-10-22 19:59:09 +02:00
// Mysql/Postgres password
2014-07-20 12:26:15 +02:00
define('DB_PASSWORD', '');
2014-10-22 19:59:09 +02:00
// Mysql/Postgres hostname
2014-07-20 12:26:15 +02:00
define('DB_HOSTNAME', 'localhost');
2014-10-22 19:59:09 +02:00
// Mysql/Postgres database name
2014-07-20 12:26:15 +02:00
define('DB_NAME', 'kanboard');
2015-04-21 17:56:16 +02:00
// Mysql/Postgres custom port (null = default port)
define('DB_PORT', null);
2014-07-20 12:26:15 +02:00
// Enable LDAP authentication (false by default)
define('LDAP_AUTH', false);
// LDAP server hostname
define('LDAP_SERVER', '');
// LDAP server port (389 by default)
define('LDAP_PORT', 389);
// By default, require certificate to be verified for ldaps:// style URL. Set to false to skip the verification.
define('LDAP_SSL_VERIFY', true);
2014-12-22 19:15:38 +01:00
// Enable LDAP START_TLS
define('LDAP_START_TLS', false);
2014-10-22 19:59:09 +02:00
// LDAP bind type: "anonymous", "user" (use the given user/password from the form) and "proxy" (a specific user to browse the LDAP directory)
define('LDAP_BIND_TYPE', 'anonymous');
// LDAP username to connect with. null for anonymous bind (by default).
// Or for user bind type, you can use a pattern: %s@kanboard.local
2014-07-20 12:26:15 +02:00
define('LDAP_USERNAME', null);
2014-10-22 19:59:09 +02:00
// LDAP password to connect with. null for anonymous bind (by default).
2014-07-20 12:26:15 +02:00
define('LDAP_PASSWORD', null);
// LDAP account base, i.e. root of all user account
2014-10-22 19:59:09 +02:00
// Example: ou=People,dc=example,dc=com
2014-07-20 12:26:15 +02:00
define('LDAP_ACCOUNT_BASE', '');
// LDAP query pattern to use when searching for a user account
// Example for ActiveDirectory: '(&(objectClass=user)(sAMAccountName=%s))'
// Example for OpenLDAP: 'uid=%s'
define('LDAP_USER_PATTERN', '');
// Name of an attribute of the user account object which should be used as the full name of the user.
define('LDAP_ACCOUNT_FULLNAME', 'displayname');
// Name of an attribute of the user account object which should be used as the email of the user.
define('LDAP_ACCOUNT_EMAIL', 'mail');
2015-02-25 17:29:06 +01:00
// Name of an attribute of the user account object which should be used as the id of the user.
// Example for ActiveDirectory: 'samaccountname'
// Example for OpenLDAP: 'uid'
define('LDAP_ACCOUNT_ID', 'samaccountname');
// By default Kanboard lowercase the ldap username to avoid duplicate users (the database is case sensitive)
// Set to true if you want to preserve the case
define('LDAP_USERNAME_CASE_SENSITIVE', false);
2015-08-16 17:04:56 +02:00
// Automatically create user account
define('LDAP_ACCOUNT_CREATION', true);
2014-07-20 12:26:15 +02:00
// Enable/disable Google authentication
define('GOOGLE_AUTH', false);
// Google client id (Get this value from the Google developer console)
define('GOOGLE_CLIENT_ID', '');
// Google client secret key (Get this value from the Google developer console)
define('GOOGLE_CLIENT_SECRET', '');
// Enable/disable GitHub authentication
define('GITHUB_AUTH', false);
// GitHub client id (Copy it from your settings -> Applications -> Developer applications)
define('GITHUB_CLIENT_ID', '');
// GitHub client secret key (Copy it from your settings -> Applications -> Developer applications)
define('GITHUB_CLIENT_SECRET', '');
2014-10-22 19:59:09 +02:00
// Enable/disable the reverse proxy authentication
define('REVERSE_PROXY_AUTH', false);
// Header name to use for the username
define('REVERSE_PROXY_USER_HEADER', 'REMOTE_USER');
// Username of the admin, by default blank
define('REVERSE_PROXY_DEFAULT_ADMIN', '');
// Default domain to use for setting the email address
define('REVERSE_PROXY_DEFAULT_DOMAIN', '');
2014-11-23 20:13:38 +01:00
// Enable or disable "Strict-Transport-Security" HTTP header
define('ENABLE_HSTS', true);
2015-04-21 17:56:16 +02:00
// Enable or disable "X-Frame-Options: DENY" HTTP header
define('ENABLE_XFRAME', true);
// Escape html inside markdown text
define('MARKDOWN_ESCAPE_HTML', true);
2015-08-16 17:04:56 +02:00
// API alternative authentication header, the default is HTTP Basic Authentication defined in RFC2617
define('API_AUTHENTICATION_HEADER', '');
// Enable/disable url rewrite
define('ENABLE_URL_REWRITE', false);
// Hide login form, useful if all your users use Google/Github/ReverseProxy authentication
define('HIDE_LOGIN_FORM', false);