This is the repo for the albeanski/webdav docker image. Easily deploy a container for a webdav server on Apache to share or upload files.
This image alpine:3.12 because of a dbm driver issue. Later versions have removed the
apr-util-dbm_db package. See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13112
Alpine also defaults to the apache user and group. The www-data user does not exist but
www-data group does. This image uses the default apache user/group.
./docker-compose.yml
---
version: '3'
services:
webdav:
image: albeanski/webdav:latest
ports:
- 8000:80
volumes:
- /path/to/files:/webdav./docker-compose.yml
---
version: '3'
services:
webdav:
image: albeanski/webdav:latest
ports:
- 8000:80
volumes:
- /path/to/files:/webdav:ro./docker-compose.yml
---
version: '3'
services:
webdav:
image: albeanski/webdav:latest
environment:
- WEBDAV_AUTH=myuser1:mypasswd;myuser2:otherpasswd
ports:
- 8000:80
volumes:
- /path/to/files:/webdav.env
WEBDAV_AUTH=myuser:mypasswddocker-compose.yml
---
version: '3'
services:
webdav:
image: albeanski/webdav:latest
environment:
- WEBDAV_AUTH=${WEBDAV_AUTH}
ports:
- 8000:80
volumes:
- /path/to/files:/webdav