From 1550ba6e39662500913e21d7102ba7dd2600c5fe Mon Sep 17 00:00:00 2001 From: soeren Date: Fri, 5 Dec 2025 20:33:54 +0100 Subject: [PATCH] fixes --- docker-compose.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e3ee893..64f5204 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,7 @@ services: restart: unless-stopped command: > sh -c " + mkdir -p storage bootstrap/cache storage/logs && chown -R www-data:www-data storage bootstrap/cache && php artisan package:discover --ansi && php artisan storage:link --ansi || true && @@ -49,7 +50,12 @@ services: env_file: - .env.docker restart: unless-stopped - command: ["sh", "-c", "php artisan queue:work --sleep=3 --tries=3 --max-time=3600"] + command: > + sh -c " + mkdir -p storage bootstrap/cache storage/logs && + chown -R www-data:www-data storage bootstrap/cache && + php artisan queue:work --sleep=3 --tries=3 --max-time=3600 + " volumes: - storage_data:/var/www/html/storage - bootstrap_cache:/var/www/html/bootstrap/cache @@ -68,7 +74,12 @@ services: env_file: - .env.docker restart: unless-stopped - command: ["sh", "-c", "php artisan schedule:work"] + command: > + sh -c " + mkdir -p storage bootstrap/cache storage/logs && + chown -R www-data:www-data storage bootstrap/cache && + php artisan schedule:work + " volumes: - storage_data:/var/www/html/storage - bootstrap_cache:/var/www/html/bootstrap/cache