Automatisches Deployment nach Strato (atomare Releases, Rollback, Gitea Actions)
- scripts/deploy.sh: Build aus Git-Stand (Composer ohne Dev, Vite), Upload per SSH, Migration, Caches, atomarer Umschalter current -> releases/<zeit>, Gesundheitscheck mit automatischem Rollback; Befehle setup/deploy/rollback/releases/artisan; lokaler Testmodus - .gitea/workflows/deploy.yml: Tests bei jedem Push, Deployment bei Tags v* oder per Knopfdruck - Vorlagen scripts/deploy.example.env und .env.production.example (Strato MySQL, SMTP, IMAP) - Scheduler-Endpunkt /automation/scheduler als Ausweich für fehlende Cronjobs - ProductionSeeder für die Ersteinrichtung ohne Testdaten Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
66e82d61f5
commit
8d904660b9
10 files changed
+460
No files matched your search
@@ -76,6 +76,12 @@
|
||||
'stale_after_minutes' => (int) env('FEWO_MAILBOX_STALE_AFTER_MINUTES', 15),
|
||||
],
|
||||
|
||||
/*
|
||||
| Fallback trigger for the task scheduler (e.g. from n8n every minute) if the hosting's cron jobs
|
||||
| are not available or not frequent enough: GET /automation/scheduler?token=… . Empty = disabled.
|
||||
*/
|
||||
'scheduler_token' => env('FEWO_SCHEDULER_TOKEN'),
|
||||
|
||||
/*
|
||||
| Optional external automation (e.g. a browser bot on a private server) that carries out
|
||||
| manual blocking tasks. Tasks are POSTed signed with HMAC-SHA256 of the body.
|
||||
|
||||
Reference in new issue
Block a user