Fix storage: use bind mount instead of named volume so nginx serves files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 16:58:22 +05:00
parent 9aeb9a7b8a
commit 855b6d542b
3 changed files with 2 additions and 5 deletions

View File

@@ -9,7 +9,6 @@ services:
restart: always
volumes:
- ./:/var/www
- storage_data:/var/www/storage/app/public
depends_on:
- db
web:
@@ -18,7 +17,6 @@ services:
restart: always
volumes:
- ./:/var/www
- storage_data:/var/www/storage/app/public
- ./_docker/nginx/conf.d:/etc/nginx/conf.d
ports:
- "8005:80"
@@ -39,4 +37,3 @@ services:
volumes:
postgres_data:
storage_data: