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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user