Incredibly secure, fast and light WebDav Server, built from minimal Alpine image
8.1K
Incredibly secure, fast WebDav Server, built from Alpine image - bare minimum with no bells and whistles.
This is a variant of https://github.com/sfuhrm/docker-nginx-webdav with the following changes:
Different tags mean different versions.
All tags on Dockerhub have passed the internal tests.
Usually you want to go with the nightly version to get the newest
Alpine Linux base.
Overview of tag dates:
| Tag | Date |
|---|---|
| nightly | |
| master | |
| latest |
The meanings of the tags:
| Tag | Meaning |
|---|---|
nightly | Nightly build of the master branch, usually up-to-date Alpine Linux verison. |
master | Last master branch commit. Same features as nightly, but based on an older Appine Linux. |
latest | Latest release per Github tag, not necessarily the most up-to-date Alpine Linux version! |
v1.0.0 | Version snapshot rebuilt nightly. Used to go back to a previous well-known state. |
$ docker run --name keepass-webdav -p 8080:8080 -v /path/to/your/keepass/files/:/media/data -d sfuhrm/docker-apache-webdav
Or use the docker-compose file included in this repository.
No built-in TLS support. Reverse proxy with TLS recommended.
/media/data - served directory, needs to be accessible to the apache user with uid 100 and gid 100.By default the server runs without authentication. To restrict access to
authorized users, provide a htpasswd file and point the $HTPASSWD_FILE
environment variable at its path inside the container.
The htpasswd file must use Apache's htpasswd format (username:hash). You can
create one on your host with the htpasswd utility:
$ htpasswd -c htpasswd webdav
Then mount it into the container and reference it:
$ docker run --name webdav -p 8080:8080 \
-v /path/to/your/shared/files/:/media/data \
-v /path/to/htpasswd:/etc/webdav/htpasswd:ro \
-e HTPASSWD_FILE=/etc/webdav/htpasswd \
-d sfuhrm/docker-apache-webdav
By default the server limits request bodies to 1 GiB (1073741824 bytes) to
bound disk-fill denial-of-service. Override the limit with the MAX_UPLOAD_SIZE
environment variable (bytes), or set 0 to disable the limit.
Or use docker-compose example with a htpasswd secret
version: "3.9"
name: webdav
secrets:
HTPASSWD_SC:
file: <path-to-your-htpasswd>/htpasswd
services:
docker-apache-webdav:
#image: sfuhrm/docker-apache-webdav
build: .
container_name: webdav
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "8080:8080"
volumes:
- "<path-you-want-to-share>:/media/data"
secrets:
- HTPASSWD_SC
environment:
- HTPASSWD_FILE=/run/secrets/HTPASSWD_SC
Content type
Image
Digest
sha256:99f874820…
Size
5.1 MB
Last updated
about 12 hours ago
docker pull sfuhrm/docker-apache-webdav