File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
1212 # The 'php-fpm' service mounts the same volume without ':ro' to allow write operations.
1313 # -----------------------------------------------------------
1414 - laravel-storage-production:/var/www/storage:ro
15+ - laravel-public-assets:/var/www/public/build:ro
1516 networks :
1617 - laravel-production
1718 ports :
@@ -33,6 +34,7 @@ services:
3334 target : production
3435 restart : unless-stopped
3536 volumes :
37+ - laravel-public-assets:/var/www/public/build # Mount built public assets to ensure the manifest.json and hashed files match between Nginx and PHP-FPM
3638 - laravel-storage-production:/var/www/storage # Mount the storage volume
3739 env_file :
3840 - .env
@@ -103,3 +105,4 @@ networks:
103105volumes :
104106 postgres-data-production :
105107 laravel-storage-production :
108+ laravel-public-assets :
You can’t perform that action at this time.
0 commit comments