Kaynağa Gözat

Merge pull request #2308 from dunn/horizon-7.x

docker: update horizon command for laravel 7.x
daniel 5 yıl önce
ebeveyn
işleme
84280ae8fc
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      contrib/docker/start.apache.sh
  2. 2 2
      contrib/docker/start.fpm.sh

+ 2 - 2
contrib/docker/start.apache.sh

@@ -6,10 +6,10 @@ chown -R www-data:www-data storage/ bootstrap/
 
 # Refresh the environment
 php artisan storage:link
-php artisan horizon:assets
+php artisan horizon:publish
 php artisan route:cache
 php artisan view:cache
 php artisan config:cache
 
 # Finally run Apache
-exec apache2-foreground
+apache2-foreground

+ 2 - 2
contrib/docker/start.fpm.sh

@@ -6,10 +6,10 @@ chown -R www-data:www-data storage/ bootstrap/
 
 # Refresh the environment
 php artisan storage:link
-php artisan horizon:assets
+php artisan horizon:publish
 php artisan route:cache
 php artisan view:cache
 php artisan config:cache
 
 # Finally run FPM
-exec php-fpm
+php-fpm