rinkplanner/hub/app/config.example.php

32 lines
1 KiB
PHP
Raw Permalink Normal View History

<?php
/**
* Beispielkonfiguration. Wird nicht ausgeliefert; beim Deployment erzeugt
* tools/deploy_hub.sh daraus app/config.local.php.
*/
return [
'db' => [
'host' => 'localhost',
'port' => 3306,
'name' => 'DB_NAME',
'user' => 'DB_USER',
'password' => 'DB_PASSWORD',
'charset' => 'utf8mb4',
],
'app' => [
// Leer, wenn der Hub direkt im DocumentRoot der Subdomain liegt.
'base_path' => '',
'public_url' => 'https://rinkplanner-hub.programmschmiede.de',
'storage_path' => dirname(__DIR__) . '/storage',
'install_token' => 'wird-beim-deployment-erzeugt',
'max_routine_bytes' => 8 * 1024 * 1024,
'max_audio_bytes' => 50 * 1024 * 1024,
'session_idle_seconds' => 14 * 86400,
'session_absolute_seconds' => 30 * 86400,
'remember_seconds' => 30 * 86400,
'login_window_seconds' => 900,
'login_max_per_user' => 5,
'login_max_per_ip' => 10,
'uploads_per_hour' => 20,
],
];