i need to mount some external storage in plex so have created a custom docker file, but when I either use the yaml publish or dockage it cannot read the directory or file, I have set the permissions to everyone and still no luck. the owner is root which seems to be what docker runs under. it has no problem mounting the volumes for this or other docker containers
version: '3.8'
services:
plex:
build:
context: /mnt/volume1/docker/plex
# image: bamcis/plex:latest
container_name: plex
network_mode: host
privileged: true
dns:
- 192.168.10.1
- 192.168.1.1
- 8.8.8.8
devices:
- "/dev/dri:/dev/dri"
environment:
# - PUID=1000
# - PGID=1000
- TZ=Etc/UTC
- VERSION=docker
# - PLEX_CLAIM= #optional
volumes:
- /mnt/volume1/docker/plex/config:/config
- /mnt/volume1/media/TV:/tv
- /mnt/volume1/media/Movies:/movies
- /mnt/volume1/docker/Plex/fstab:/etc/fstab
restart: unless-stopped