webdav hinzugefügt

This commit is contained in:
borgal
2022-11-07 21:50:15 +01:00
parent 5be302d607
commit 629fbe0181
2 changed files with 26 additions and 0 deletions

2
webdav/.env.sample Normal file
View File

@@ -0,0 +1,2 @@
NFS_SERVER=192.168.0.xxx
Photos=/mnt/pool1/pfad/zu/dem/Ordner

24
webdav/docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
version: "3"
services:
webdav:
container_name: webdav
image: ugeek/webdav:amd64-alpine
network_mode: bridge
ports:
- "8014:80"
volumes:
# data
- $HOME/Download:/data/download
- Photos:/data/Photos
# user and password
- ./user/htpasswd:/opt/nginx/conf/htpasswd:ro
restart: always
volumes:
Photos:
name: Photos
driver: local
driver_opts:
type: nfs
o: addr=${NFS_SERVER},rw
device: ":${Photos}"