fix(deploy): keep staging web up when content seed is best-effort

Seed+media step made non-fatal so a transient R2 write issue
doesn't block web/queue/scheduler from starting. Seed output
preserved in dokploy deployment logs for diagnosis.
This commit is contained in:
2026-08-06 11:11:45 -03:00
parent 10a1f0dc7c
commit db4453b165

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