Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8035

Networking and servers • Re: How can I work with NFS share and Docker (Paperless)

$
0
0
In fact, I looked in the wrong way.
I removed the two line I added in fstab and I do mount any things with sudo mount -a

I edited the file paperless-ngx/docker-compose.yml

I remplaced the line

Code:

-  ./export:/usr/src/paperless/export
by

Code:

 - export:/usr/src/paperless/export
and I added the lines

Code:

export:    driver: local    driver_opts:      type: "nfs"      o: "addr=192.168.1.114,rw"      device: ":/volume1/paperless"
bellow redisdata

Code:

volumes:  redisdata:  export:    driver: local    driver_opts:      type: "nfs"      o: "addr=192.168.1.114,rw"      device: ":/volume1/paperless"
I run

Code:

sudo mount -l |grep paperless
and I checked

Code:

sudo mount -l |grep paperless
then I run the backup with

Code:

docker compose exec webserver document_exporter ../export -fpz
and then I was happy to see a zip file with my backup on my Synology NAS into the volume 'paperless' :)

Statistics: Posted by pierrot10 — Tue Jan 20, 2026 11:00 pm



Viewing all articles
Browse latest Browse all 8035

Trending Articles