diff --git a/docker-compose.yml b/docker-compose.yml index 64f5204..9c35170 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,8 +20,8 @@ services: restart: unless-stopped command: > sh -c " - mkdir -p storage bootstrap/cache storage/logs && - chown -R www-data:www-data storage bootstrap/cache && + mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache && + chown -R www-data:www-data storage storage/app storage/framework storage/logs bootstrap/cache && php artisan package:discover --ansi && php artisan storage:link --ansi || true && php artisan config:cache --ansi && @@ -52,8 +52,8 @@ services: restart: unless-stopped command: > sh -c " - mkdir -p storage bootstrap/cache storage/logs && - chown -R www-data:www-data storage bootstrap/cache && + mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache && + chown -R www-data:www-data storage storage/app storage/framework storage/logs bootstrap/cache && php artisan queue:work --sleep=3 --tries=3 --max-time=3600 " volumes: @@ -76,8 +76,8 @@ services: restart: unless-stopped command: > sh -c " - mkdir -p storage bootstrap/cache storage/logs && - chown -R www-data:www-data storage bootstrap/cache && + mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache && + chown -R www-data:www-data storage storage/app storage/framework storage/logs bootstrap/cache && php artisan schedule:work " volumes: