Fix storage volume: mount directly to app/public so nginx can serve files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
- storage_data:/var/www/storage
|
- storage_data:/var/www/storage/app/public
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
web:
|
web:
|
||||||
@@ -18,7 +18,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
- storage_data:/var/www/storage
|
- storage_data:/var/www/storage/app/public
|
||||||
- ./_docker/nginx/conf.d:/etc/nginx/conf.d
|
- ./_docker/nginx/conf.d:/etc/nginx/conf.d
|
||||||
ports:
|
ports:
|
||||||
- "8005:80"
|
- "8005:80"
|
||||||
|
|||||||
Reference in New Issue
Block a user