Merge pull request #20 from manoel-freitas/fix/seed-resilient

fix(deploy): keep staging web up when content seed is best-effort
This commit is contained in:
2026-08-06 11:16:20 -03:00
committed by GitHub

View File

@@ -17,8 +17,9 @@ services:
command: > command: >
sh -c sh -c
"php artisan migrate --force --no-interaction "php artisan migrate --force --no-interaction
&& php artisan db:seed --class=ContentSeeder --force --no-interaction && (php artisan db:seed --class=ContentSeeder --force --no-interaction 2>&1
&& php artisan media:generate-variants --force" && php artisan media:generate-variants --force 2>&1) || true
&& echo 'migrate+seed done'"
networks: networks:
- dokploy-network - dokploy-network