Self-host docker-webdav
Apache-based WebDAV file server in a Docker image
docker run --restart always -v /srv/dav:/var/lib/dav -e AUTH_TYPE=Digest -e USERNAME=alice -e PASSWORD=secret1234 --publish 80:80 -d bytemark/webdav- Stars
- 438
- Ports
- 80 (Plain HTTP WebDAV access in the basic usage example), 443 (HTTPS when SSL is enabled (e.g. SSL_CERT=selfsigned))
bytemark/webdavWhat is docker-webdav?
A Docker image that runs a WebDAV server on top of Apache httpd, aimed at anyone who wants simple, password-protected file sharing over HTTP(S) from a single container. Authentication is configurable as Basic or Digest, a single account can be supplied through environment variables, and multi-user setups work by bind-mounting your own htpasswd/htdigest file. The container can generate a self-signed TLS certificate or use a certificate and key you mount in, although the documentation recommends terminating SSL in a reverse proxy such as Traefik. Anonymous HTTP methods can be whitelisted, and the WebDAV endpoint can be served under a chosen URL path with custom server names. Persistent files live in a volume at /var/lib/dav. Run it with docker run or Docker Compose using the bytemark/webdav image; note the repository was last updated in October 2022.
Should you self-host docker-webdav?
docker-webdav scores 48/100 on selfhost.directory (how scoring works) and ranks #52 of 86 in File Sharing. It has 438 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Shell.
Its closest alternative on selfhost.directory is copyparty (82/100, 47 159 stars). It scores higher overall, so compare the two before you pick. See docker-webdav vs copyparty side by side.
docker-webdav README
More in Web Servers
DufsSelf-hosted Rust file server that shares folders over HTTP or WebDAV with drag-drop uploads, search, per-path access control and HTTPS. Open-source.
FerronOpen-source, self-hosted Rust web server for static sites, PHP and reverse-proxied apps, with automatic TLS, Prometheus/OTLP metrics, and trace IDs in every log line.
hotio/caddySelf-hosted Docker image of Caddy web server with Cloudflare DNS and rate limiting modules, WireGuard VPN support, and automatic HTTPS.
Lighttpdlighttpd is a secure, fast, and flexible open-source web server optimized for high-performance environments, with low memory and CPU usage.
Martin Tile ServerAn open-source, self-hosted vector tile server written in Rust that serves tiles from PostGIS, GeoJSON, PMTiles and MBTiles sources.
NGINXNGINX is a self-hosted, open-source web server that also functions as a reverse proxy, load balancer, content cache, and mail proxy.
nginx-uiSelf-hosted, open-source web UI for managing Nginx: edit configs, deploy Let's Encrypt certs, tail logs, watch stats and manage clusters, with AI and MCP.
OnionShareSelf-hosted, open-source app that runs Tor onion services from your own computer for anonymous file sharing, static website hosting, and private chat rooms.
OrganizrSelf-hosted HTPC and homelab services organizer consolidates web services into one dashboard with tabs. Supports LDAP authentication, mobile responsive design.
Static Web ServerA cross-platform, high-performance and asynchronous web server for static files-serving. ⚡- SurferSurfer is a simple static file server with a web interface and CLI tool for managing files. It supports WebDAV, SFTP, password protection, and dark mode.
turbocloud-agentTurboCloud Agent is an open-source, self-hosted PaaS for deploying web apps to any Ubuntu 22.04 server with built-in WAF, VPN, load balancing, and CI/CD.
0 comments