From f5d166a933731a728060d02dd3e3bc8277dc75ca Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 26 Aug 2026 23:02:17 +0930 Subject: [PATCH] fix: remove bootstrap/cache bind mount from docker-compose The bootstrap/cache volume mount causes stale service provider references to persist across rebuilds. When a package is removed, the host's cached packages.php/services.php still reference the old provider, causing 'Class not found' errors at container startup. The AUTORUN_LARAVEL_*_CACHE env vars already handle cache regeneration on each container start, making the bind mount unnecessary. --- docker-compose.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d88da9b24..cc32b14d0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -70,7 +70,6 @@ services: volumes: - ./storage:/var/www/html/storage - - ./bootstrap/cache:/var/www/html/bootstrap/cache depends_on: - db - redis @@ -101,7 +100,6 @@ services: PHP_OPCACHE_ENABLE: "1" volumes: - ./storage:/var/www/html/storage - - ./bootstrap/cache:/var/www/html/bootstrap/cache depends_on: - db - redis @@ -138,7 +136,6 @@ services: PHP_OPCACHE_ENABLE: "1" volumes: - ./storage:/var/www/html/storage - - ./bootstrap/cache:/var/www/html/bootstrap/cache depends_on: - db - redis