Move Peertube data to docker cifs mount

This commit is contained in:
Joey Hafner 2023-04-06 12:40:18 -07:00
parent ac58cac2b8
commit 7490bd1099

View File

@ -23,7 +23,8 @@ services:
- "11935:1935" # Livestream RTMP port - "11935:1935" # Livestream RTMP port
volumes: volumes:
- assets:/app/client/dist - assets:/app/client/dist
- ${PEERTUBE_DATA_VOLUME}:/data - nas:/data
#- ${PEERTUBE_DATA_VOLUME}:/data
- ${PEERTUBE_CONFIG_VOLUME}:/config - ${PEERTUBE_CONFIG_VOLUME}:/config
labels: labels:
- "traefik.http.routers.peertube.rule=Host(`video.jafner.net`)" - "traefik.http.routers.peertube.rule=Host(`video.jafner.net`)"
@ -78,3 +79,9 @@ networks:
volumes: volumes:
assets: 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"