From 2893fa6a4687dcd5cada439a8bceaa8be05f00e8 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Sun, 3 Nov 2024 18:57:05 -0700 Subject: [PATCH] Update Docker & Kubernetes/Docker/Docker Compose/Pyload.md --- .../Docker/Docker Compose/Pyload.md | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Docker & Kubernetes/Docker/Docker Compose/Pyload.md b/Docker & Kubernetes/Docker/Docker Compose/Pyload.md index 908982b..346d78e 100644 --- a/Docker & Kubernetes/Docker/Docker Compose/Pyload.md +++ b/Docker & Kubernetes/Docker/Docker Compose/Pyload.md @@ -5,7 +5,8 @@ ## Docker Configuration ```jsx title="docker-compose.yml" ---- +version: '3.9' + services: pyload-ng: image: lscr.io/linuxserver/pyload-ng:latest @@ -13,25 +14,25 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=America/Denver # (1) + - TZ=America/Denver volumes: - /srv/containers/pyload-ng/config:/config - - smb-share:/downloads + - nfs-share:/downloads ports: - 8000:8000 - - 9666:9666 # (2) + - 9666:9666 #optional restart: unless-stopped networks: - docker_network: - ipv4_address: 192.168.5.30 + docker_network: + ipv4_address: 192.168.5.30 volumes: - smb-share: + nfs-share: driver: local driver_opts: - type: cifs - o: username=nicole.rappe,password=REDACTED,domain=BUNNY-LAB,vers=3.0 # (3) - device: "//192.168.3.3/Downloads" # (4) + type: nfs + o: addr=192.168.3.3,nolock,soft,rw # Options for the NFS mount + device: ":/mnt/STORAGE/Downloads" # NFS path on the server networks: docker_network: @@ -43,6 +44,9 @@ networks: 3. This assumes you want your download folder to be a SMB network share, this section allows you to connect to the share so Pyload can download content directly into the network folder. Replace the username and `REDACTED` password with your actual credentials. Remove the `domain` argument if the SMB server is not domain-joined. 4. This is the destination network share to target with the given credentials in section 3. +!!! note "NFS Mount Assumptions" + The NFS folder in this example is both exported via NFS on a TrueNAS Core server, while also being exported as an NFS export. `mapall user` and `mapall group` is configured to the user and group owners of the folder set in the permissions of the dataset in TrueNAS Core. In this case, the mapall user is `BUNNY-LAB\nicole.rappe` and the mapall group is `BUNNY-LAB\Domain Admins`. + ```jsx title=".env" N/A ```