Compare commits

..

1 Commits

Author SHA1 Message Date
c702306ce5 fix: seed content images onto active filesystem disk
ContentSeeder always wrote to public; preview/prod use r2 so
URLs pointed at empty media host. Put fixtures on PublicImageUploadRules disk.
2026-08-06 10:15:52 -03:00

View File

@@ -14,12 +14,7 @@ services:
restart: "no" restart: "no"
env_file: env_file:
- .env - .env
command: > command: ["php", "artisan", "migrate", "--force", "--no-interaction"]
sh -c
"php artisan migrate --force --no-interaction
&& (php artisan db:seed --class=ContentSeeder --force --no-interaction 2>&1
&& php artisan media:generate-variants --force 2>&1) || true
&& echo 'migrate+seed done'"
networks: networks:
- dokploy-network - dokploy-network