$ docker run --name webdav -p 80:80 -v /media:/media -d yorch/nginx-webdav
This will start a webdav server listening on port 80
.
Then access it via http://localhost
or http://host
in a browser.
This server will serve files located in your /media
folder
Image's supported volumes:
/media
- served directory
To restrict access to only authorized users, you can define two environment variables: USERNAME
and PASSWORD
$ docker run --name webdav -p 80:80 -v /media:/media -e USERNAME=webdav -e PASSWORD=webdav -d yorch/nginx-webdav
MIT License
Copyright (c) 2020 Jorge Barnaby
See LICENSE