I am attempting to create a mounted volume within a docker swarm and access it from a webapp (Django). I create the volume, go into a container and it is there. However, my Django app is is getting a 404 when attempting to access any image. The directory and branch I'm using is identical to production.
So, my question is, are there any permission issues that I should be aware of that could be causing this problem? Or possibly the way in which volumes on a container is created which would be causing this problem?
How volume it set in compose:
volumes:
- /mnt/intranet_videos:/mnt/intranet/video
- /mnt/intranet_media/intranet:/mnt/intranet/media
Attached Image (Side by side of production OS next to container in Swarm)