2024-08-17, 03:22 PM
I have setup share on my a LXC on proxmox. The LXC itself can access all the files on the share. I have setup jellyfin using docker compose but jellyfin can't access the files of the NFS shares.
Content:
LXC Output:
Proxmox host Content:
Code:
docker-compose.yml
Code:
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
group_add:
- '107'
environment:
- TZ=Europe/London
volumes:
- ./jellyfin/config:/config
- ./jellyfin/cache:/cache
- /mnt/Anime-NFS
- /mnt/Movies-NFS
- /mnt/Shows-NFS
ports: # You will need to uncomment if you aren't running through a proxy
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
devices: # uncomment these and amend if you require GPU accelerated transcoding
- /dev/dri/renderD128:/dev/dri/renderD128
restart: always
LXC
Code:
ls -l /mnt
Code:
total 42
drwxrwx---+ 6 nobody nogroup 6 Aug 17 01:35 Anime-NFS
drwxrwx---+ 31 nobody nogroup 31 Aug 17 02:47 Movies-NFS
drwxrwx---+ 4 nobody nogroup 4 Aug 16 22:37 Shows-NFS
Proxmox host
Code:
etc/fstab
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
192.168.100.40:/mnt/vdev-1/Media-Server/Anime /mnt/lxc_shares/Anime-NFS nfs defaults>
192.168.100.40:/mnt/vdev-1/Media-Server/Movies /mnt/lxc_shares/Movies-NFS nfs defaul>
192.168.100.40:/mnt/vdev-1/Media-Server/Shows /mnt/lxc_shares/Shows-NFS nfs defaults>