Sign inSign up

richardjkendall/webdav-server

By richardjkendall

•Updated over 6 years ago

Quick and dirty webdav server

Image
0

294

richardjkendall/webdav-server repository overview

⁠webdav-server

Docker image with Apache httpd configured as a webdav server, implements basic authentication using user details stored in a DynamoDB table.

Basic auth uses a PAM module and mod_authnz_pam (https://github.com/adelton/mod_authnz_pam⁠).

The PAM module is here https://github.com/richardjkendall/pam-dynamo⁠.

The docker image is available here https://hub.docker.com/r/richardjkendall/webdav-server⁠

⁠How to use

Pull the docker image docker pull richardjkendall/webdav-server:latest

⁠Volumes

You should mount the following folders on external volumes otherwise you will lose data when you reploy the container

Container PathPurpose
/dav/rootFolder where files are stored
/dav/dbFolder where DAV lockdb is stored
⁠Environment variables

The following variables need to be set for the container to set up the PAM module for authentication properly

VariablePurpose
REGIONAWS region
TABLEName of DynamoDB table
REALMName of realm where users should exist

For more details on the structure of the table which is expected, please see here https://github.com/richardjkendall/pam-dynamo#expected-table-structure⁠

Tag summary

Content type

Image

Digest

Size

126.4 MB

Last updated

over 6 years ago

docker pull richardjkendall/webdav-server