This commit is contained in:
2025-12-05 20:38:15 +01:00
parent 1550ba6e39
commit deff5c8ca0

View File

@@ -20,8 +20,8 @@ services:
restart: unless-stopped restart: unless-stopped
command: > command: >
sh -c " sh -c "
mkdir -p storage bootstrap/cache storage/logs && mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache &&
chown -R www-data:www-data storage bootstrap/cache && chown -R www-data:www-data storage storage/app storage/framework storage/logs bootstrap/cache &&
php artisan package:discover --ansi && php artisan package:discover --ansi &&
php artisan storage:link --ansi || true && php artisan storage:link --ansi || true &&
php artisan config:cache --ansi && php artisan config:cache --ansi &&
@@ -52,8 +52,8 @@ services:
restart: unless-stopped restart: unless-stopped
command: > command: >
sh -c " sh -c "
mkdir -p storage bootstrap/cache storage/logs && mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache &&
chown -R www-data:www-data storage 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 php artisan queue:work --sleep=3 --tries=3 --max-time=3600
" "
volumes: volumes:
@@ -76,8 +76,8 @@ services:
restart: unless-stopped restart: unless-stopped
command: > command: >
sh -c " sh -c "
mkdir -p storage bootstrap/cache storage/logs && mkdir -p storage/app/public storage/logs storage/framework/{cache,data,sessions,testing,views} bootstrap/cache &&
chown -R www-data:www-data storage bootstrap/cache && chown -R www-data:www-data storage storage/app storage/framework storage/logs bootstrap/cache &&
php artisan schedule:work php artisan schedule:work
" "
volumes: volumes: