A Docker image serving data through webdav
100K+
This Dockerfile compiles to an image that
It is available through the Docker Hub at binfalse/webdav.
To run the images you still need to deploy a proper virtual host configuration that serves a directory tree through webdav.
A sample configuration is included in the repository as default.conf.
You just need to mount it to /etc/apache2/sites-available/000-default.conf to apply it to a running container.
This example assumes that you also mount
.htpasswd for user authentication to /dav/.htpassword/dav/shareThus, a commandline may look like this:
docker run --rm -it \
-v default.conf:/etc/apache2/sites-available/000-default.conf \
-v /path/to/dav-files:/dav/share:ro \
-v /path/to/.htpasswd:/dav/.htpassword:ro \
-p 8888:80 binfalse/webdav
If you're using Docker-Compose:
webdav:
restart: always
image: binfalse/webdav
volumes:
- /path/to/dav-files:/dav/share
- /path/to/.htpasswd:/dav/.htpassword:ro
- /path/to/apache/default.conf:/etc/apache2/sites-available/000-default.conf
- /path/to/letsencrypt/challenges:/acme/.well-known/acme-challenge:ro
Skip the letsencrypt part, if you're not using it ;-)
Content type
Image
Digest
Size
84.4 MB
Last updated
about 5 years ago
docker pull binfalse/webdav