fixes
This commit is contained in:
@@ -20,7 +20,10 @@ services:
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
sh -c "
|
||||
mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache &&
|
||||
mkdir -p storage/app/public storage/logs \
|
||||
storage/framework/cache storage/framework/data storage/framework/sessions \
|
||||
storage/framework/testing storage/framework/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 &&
|
||||
@@ -52,7 +55,10 @@ services:
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
sh -c "
|
||||
mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache &&
|
||||
mkdir -p storage/app/public storage/logs \
|
||||
storage/framework/cache storage/framework/data storage/framework/sessions \
|
||||
storage/framework/testing storage/framework/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
|
||||
"
|
||||
@@ -76,7 +82,10 @@ services:
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
sh -c "
|
||||
mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache &&
|
||||
mkdir -p storage/app/public storage/logs \
|
||||
storage/framework/cache storage/framework/data storage/framework/sessions \
|
||||
storage/framework/testing storage/framework/views \
|
||||
bootstrap/cache &&
|
||||
chown -R www-data:www-data storage storage/app storage/framework storage/logs bootstrap/cache &&
|
||||
php artisan schedule:work
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user