Plex in Rpi4 using docker - can't add media

Server Version#: 1.25.3.5409

Let me preface this by saying that I am a total noob at all of this. I searched for similar questions, but did not find anything relevant.

I installed plex to my Raspberry Pi 4 using docker and docker-compose. Things went smoothly, and I am able to access the server. However, when I try to add a folder to my library, I am unable to see the folder that I created in docker-compose through the plex server. Moreover, when I try to copy media to the folder, I get a permission denied error. I suspect this may have something to do with the location I assigned for the media folder. What I find confusing is that the plex server is not able to see the folder that I created.

Below are my docker-compose settings:

  plex:
    image: lscr.io/linuxserver/plex
    container_name: plex
    restart: unless-stopped
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - VERSION=docker
    volumes:
      - /home/pi/Plex/config:/config
      - /home/pi/Plex/transcode:/transcode
      - /home/pi/Plex/media:/all_media

Questions:

  1. Should I have chosen a different location for the volumes? I have a large 128GB card, and I don’t expect to have more than a handful of movies at a time, which is why I chose this location
  2. If this is not a good location, what would be a better one?
  3. How can I get plex to see the folders in my Pi?

UID/GID 1000:1000 (as stated in the config) minimally need read permission to:

/home
/home/pi
/home/pi/Plex/media

Given Plex works, it seems the problem exists from /home/pi/Plex/media and below

Directory permissions 755, file permissions 644 will guarantee Plex can read the media.

Thank you, that seems to have done the trick!