How to easily run a Webdav server in a Docker container

A lot of open source software lets you synchronise data via webdav, but how do you get a #webdav server?
Using Apache with the dav module is a common approach, but I couldn’t bother to set it up that way.
My way is different: Rclone can act as a webdav server and is easy to configure.
I’ve been using it for 3 years and it’s very reliable.
Have a look at the compose file in the picture.
@selfhosted

    • hisold@toot.ioOP
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      @TCB13 According to the docs, the Dav module has to be manually enabled at compile time and that doesn’t seem to be the case with the official docker image

      • TCB13@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        47 minutes ago

        Debian repositories include the dav module by default. Not sure about what’s going on with docker.