From 7490bd1099860aad8f450b9f967cc411bcfb3e06 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 6 Apr 2023 12:40:18 -0700 Subject: [PATCH] Move Peertube data to docker cifs mount --- homelab/jafner-net/config/peertube/docker-compose.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/homelab/jafner-net/config/peertube/docker-compose.yml b/homelab/jafner-net/config/peertube/docker-compose.yml index 35bc8b13..48485e5f 100644 --- a/homelab/jafner-net/config/peertube/docker-compose.yml +++ b/homelab/jafner-net/config/peertube/docker-compose.yml @@ -23,7 +23,8 @@ services: - "11935:1935" # Livestream RTMP port volumes: - assets:/app/client/dist - - ${PEERTUBE_DATA_VOLUME}:/data + - nas:/data + #- ${PEERTUBE_DATA_VOLUME}:/data - ${PEERTUBE_CONFIG_VOLUME}:/config labels: - "traefik.http.routers.peertube.rule=Host(`video.jafner.net`)" @@ -78,3 +79,9 @@ networks: volumes: assets: + nas: + driver: local + driver_opts: + type: cifs + device: //192.168.50.1/AppData + o: "user=user,pass=resu,uid=1000,gid=1000,_netdev,vers=3.0"