anpassungen für betrieb mit traefik, blogpostseeder überarbeitet, blogpostergaenzungseeder hinzugefügt.

This commit is contained in:
Codex Agent
2025-11-18 15:48:02 +01:00
parent 7437474a01
commit 6720ad84cf
10 changed files with 2820 additions and 48 deletions

View File

@@ -43,6 +43,12 @@ prepare_storage() {
php artisan migrate --force >/dev/null 2>&1 || true
fi
}
refresh_config_cache() {
cd "$APP_TARGET"
php artisan config:clear >/dev/null 2>&1 || true
php artisan config:cache >/dev/null 2>&1 || true
}
wait_for_service() {
local name="$1" host="$2" port="$3" timeout="$4"
@@ -109,6 +115,7 @@ wait_for_dependencies() {
sync_code
ensure_helper_scripts
prepare_storage
refresh_config_cache
wait_for_dependencies
cd "$APP_TARGET"