Merge pull request #19 from manoel-freitas/fix/seed-to-active-disk

fix(deploy): seed content on staging deploy
This commit is contained in:
2026-08-06 11:00:37 -03:00
committed by GitHub

View File

@@ -14,7 +14,11 @@ services:
restart: "no" restart: "no"
env_file: env_file:
- .env - .env
command: ["php", "artisan", "migrate", "--force", "--no-interaction"] command: >
sh -c
"php artisan migrate --force --no-interaction
&& php artisan db:seed --class=ContentSeeder --force --no-interaction
&& php artisan media:generate-variants --force"
networks: networks:
- dokploy-network - dokploy-network