Compare commits
1 Commits
fix/seed-t
...
fix/seed-r
| Author | SHA1 | Date | |
|---|---|---|---|
| 5949fad9b1 |
@@ -14,12 +14,7 @@ services:
|
|||||||
restart: "no"
|
restart: "no"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
command: >
|
command: ["sh", "-c", "php artisan migrate --force --no-interaction && php artisan db:seed --class=ContentSeeder --force; php artisan media:generate-variants --force; true"]
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user