Browse Source

try a better volumes mount

master
Dan 3 years ago
parent
commit
0d61d2f870
  1. 10
      tubearchivist-docker-compose.yml

10
tubearchivist-docker-compose.yml

@ -8,7 +8,7 @@ services:
ports: ports:
- 8000:8000 - 8000:8000
volumes: volumes:
- /mnt/pokecenter_media/Downloads/TubeArchivist:/youtube - pokecenter_media/Downloads/TubeArchivist:/youtube
- /c/Temp/Cache:/cache - /c/Temp/Cache:/cache
environment: environment:
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port - ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
@ -50,3 +50,11 @@ services:
- /c/Temp/ES:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme - /c/Temp/ES:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose: expose:
- "9200" - "9200"
volumes:
pokecenter_media:
driver: local
driver_opts:
type: nfs
o: "addr=192.168.1.172,rw"
device: "/Media:mnt/pokecenter_media"
Loading…
Cancel
Save