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:
12
12
# The 'php-fpm' service mounts the same volume without ':ro' to allow write operations.
13
13
# -----------------------------------------------------------
14
14
- laravel-storage-production:/var/www/storage:ro
15
+ - laravel-public-assets:/var/www/public/build:ro
15
16
networks :
16
17
- laravel-production
17
18
ports :
@@ -33,6 +34,7 @@ services:
33
34
target : production
34
35
restart : unless-stopped
35
36
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
36
38
- laravel-storage-production:/var/www/storage # Mount the storage volume
37
39
env_file :
38
40
- .env
@@ -103,3 +105,4 @@ networks:
103
105
volumes :
104
106
postgres-data-production :
105
107
laravel-storage-production :
108
+ laravel-public-assets :
You can’t perform that action at this time.
0 commit comments