Sign inSign up

adanton/webdav

By adanton

Updated almost 4 years ago

webdav server based on WsgiDav

Image
1

839

adanton/webdav repository overview

webdav

About

It is a Webdav server based on wsgidav https://github.com/mar10/wsgidav, which is compatible with Linux, Windows or Mac, even when running behind a reverse proxy like Caddy or Traefik.

After trying many dockers that provided this service, none was 100% compatible with Windows 10, so I decided to mount this one, using the wsgidav service, which works very well.

Usage

​From the command line::

docker run --name=webdav -p '80:80' -v '/home/adanton/dav/:/home/' -e USERS='{"user1":"pass1","user2":"pass2"}' adanton/webdav

Example docker-compose:

version: "3.6"
services:
  webdav:
    image: adanton/webdav
    container_name: webdav
    restart: unless-stopped
    ports:
      - 80:80
    volumes:
      - $HOME/webdav:/home
    environment:
      - USERS={"user1":"pass1", "user2":"pass2"}

The docker receives the variable USERS with a list, in json format, of users and passwords as shown in the examples. Each user (user1 for example) will be able to access their personal folder in the following path:

http://<ip_servidor>/user1

More about WsgiDav

Tag summary

Content type

Image

Digest

sha256:654e40ae0

Size

45.8 MB

Last updated

almost 4 years ago

docker pull adanton/webdav