We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8588329 + c9ec438 commit b718924Copy full SHA for b718924
home/app/run-dev.sh
@@ -17,7 +17,9 @@ composer install --prefer-dist --no-progress --no-interaction
17
yarn
18
19
# migrate and setup database
20
-wait-for-it.sh mysql:3306
+if [ -z "$DB_HOST" ]; then
21
+ wait-for-it.sh $DB_HOST
22
+fi
23
php artisan migrate --force
24
php artisan setup
25
home/app/run-prod.sh
@@ -10,7 +10,9 @@ chown www-data:www-data -R /opt/app/storage
10
chown www-data:www-data -R /opt/app/bootstrap/cache
11
12
13
14
15
16
0 commit comments