From fd4b25932c42df1c08b2934cff732d5f9b1c0c5c Mon Sep 17 00:00:00 2001 From: pataquets Date: Sun, 8 Sep 2019 20:21:57 +0200 Subject: [PATCH] Contrib: Add sample WebDAV server Docker Compose manifest. --- .../docker/docker-compose.webdav-server.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 contrib/docker/docker-compose.webdav-server.yml diff --git a/contrib/docker/docker-compose.webdav-server.yml b/contrib/docker/docker-compose.webdav-server.yml new file mode 100644 index 000000000..f446cd2f2 --- /dev/null +++ b/contrib/docker/docker-compose.webdav-server.yml @@ -0,0 +1,35 @@ +rclone-webdav-server: + container_name: rclone-webdav-server + + image: rclone/rclone + command: +# Tweak here rclone's command line switches: +# - "--config" +# - "/path/to/mounted/rclone.conf" + - "--verbose" + - "serve" + - "webdav" + - "remote:/" +# - "--addr" +# - "0.0.0.0:8080" + - "--read-only" +# - "--no-modtime" +# - "--no-checksum" + + restart: unless-stopped + + # Use host networking for simplicity. + # It also enables server's default listen on 127.0.0.1 to work safely. + net: host + + # If you want to use port mapping instead of host networking, + # make sure to make rclone listen on 0.0.0.0. + #ports: + # - "127.0.0.1:8080:8080" + + # Here you have to map your host's rclone.conf directory to + # container's /root/.config/rclone/ dir (R/O). + # If you have any remote referencing local files, you have to + # map them here, too. + volumes: + - ~/.config/rclone/:/root/.config/rclone/:ro