40 lines
1.3 KiB
PHP
40 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Beispielkonfiguration. Wird nicht ausgeliefert; beim Deployment erzeugt
|
|
* tools/deploy_app.sh daraus app/config.local.php (Werte aus credentials.txt).
|
|
*/
|
|
return [
|
|
'db' => [
|
|
'host' => 'DB_HOST',
|
|
'port' => 3306,
|
|
'name' => 'DB_NAME',
|
|
'user' => 'DB_USER',
|
|
'password' => 'DB_PASSWORD',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
'mail' => [
|
|
// Leer = kein Versand (Einladungslinks werden nur angezeigt).
|
|
'host' => 'MAIL_HOST',
|
|
'port' => 587,
|
|
// 'tls' = STARTTLS (587), 'ssl' = implizites TLS (465)
|
|
'secure' => 'tls',
|
|
'user' => 'MAIL_USER',
|
|
'password' => 'MAIL_PASSWORD',
|
|
'from' => 'MAIL_FROM',
|
|
'from_name' => 'MAIL_FROM_NAME',
|
|
'timeout' => 15,
|
|
],
|
|
'app' => [
|
|
// Leer, wenn die App direkt im Zielverzeichnis liegt; sonst z. B. '/westreiche_website'.
|
|
'base_path' => '',
|
|
'public_url' => 'https://zauberturm.de',
|
|
'storage_path' => dirname(__DIR__) . '/storage',
|
|
'install_token' => 'wird-beim-deployment-erzeugt',
|
|
'session_idle_seconds' => 30 * 86400,
|
|
'session_absolute_seconds' => 90 * 86400,
|
|
'remember_seconds' => 90 * 86400,
|
|
'login_window_seconds' => 900,
|
|
'login_max_per_user' => 5,
|
|
'login_max_per_ip' => 15,
|
|
],
|
|
];
|