feat: Kür-Hub mit Einladungen, Uploads und API
- PHP-App unter hub/ für rinkplanner-hub.programmschmiede.de - MariaDB-Schema, Argon2id, Sessions, CSRF und Ratenbegrenzung - Einladungscodes, Admin-Bereich und Kür-Pakete mit Audiodatei - JSON-API v1 mit Bearer-Tokens für die Godot-App - Deployment und Erstinstallation über tools/deploy_hub.sh - Doku und Credentials-Vorlage ergänzt
This commit is contained in:
parent
e79b477ee0
commit
055a2919c3
38 changed files with 5111 additions and 0 deletions
31
hub/app/config.example.php
Normal file
31
hub/app/config.example.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?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,
|
||||
],
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue