Fix media volume: mount directly to host for proper file access by Nginx
This commit is contained in:
@@ -64,7 +64,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
- static_volume:/app/smartsoltech/staticfiles
|
- static_volume:/app/smartsoltech/staticfiles
|
||||||
- media_volume:/app/smartsoltech/media
|
- ./smartsoltech/media:/app/smartsoltech/media
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user