This commit is contained in:
2025-12-05 20:44:51 +01:00
parent deff5c8ca0
commit 8396bddcf3

View File

@@ -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
"