From 0d61d2f87035fbb2480fbc19e33d1ce4db4f661f Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 18 Oct 2022 10:23:54 +0100 Subject: [PATCH] try a better volumes mount --- tubearchivist-docker-compose.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tubearchivist-docker-compose.yml b/tubearchivist-docker-compose.yml index 2cad219..d78e5ca 100644 --- a/tubearchivist-docker-compose.yml +++ b/tubearchivist-docker-compose.yml @@ -8,7 +8,7 @@ services: ports: - 8000:8000 volumes: - - /mnt/pokecenter_media/Downloads/TubeArchivist:/youtube + - pokecenter_media/Downloads/TubeArchivist:/youtube - /c/Temp/Cache:/cache environment: - ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port @@ -49,4 +49,12 @@ services: volumes: - /c/Temp/ES:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme expose: - - "9200" \ No newline at end of file + - "9200" + +volumes: + pokecenter_media: + driver: local + driver_opts: + type: nfs + o: "addr=192.168.1.172,rw" + device: "/Media:mnt/pokecenter_media" \ No newline at end of file