Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 539 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 539 Bytes

NGINX WebDAV container

Usage:

docker run --restart always --detach --name webdav --publish 7000:8080 \
           --env UID=$UID --volume $PWD:/media ionelmc/webdav

Optionally you can add two environment variables to require HTTP basic authentication:

  • WEBDAV_USERNAME
  • WEBDAV_PASSWORD

Example:

docker run --restart always --detach --name webdav --publish 7000:8080 \
           --env WEBDAV_USERNAME=myuser --env WEBDAV_PASSWORD=mypassword \
           --env UID=$UID --volume $PWD:/media ionelmc/webdav