Skip to content

bipy/docker-webdav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker WebDAV Server Image

This repo aims to build the latest WebDAV server docker image by GitHub Actions

See bipy/webdav - DockerHub

Dependency

Base Server: Caddy

WebDAV Plugin: caddy-webdav

WebDAV Implementation: golang.org/x/net/webdav

Usage

Run in container

# when you just want to setup a simple WebDAV server
docker run --name webdav -d \
-p 80:80 \
-v /path/to/Caddyfile:/etc/caddy/Caddyfile \
-v /path/to/dav:/srv \
bipy/webdav:latest

# when you need more
docker volume create webdav_data

docker run --name webdav -d \
-p 80:80 \
-p 443:443 \
-e CLOUDFLARE_API_TOKEN=AAAABBBBCCCC \
-v webdav_data:/data \ 
-v /path/to/log:/var/log/caddy \
-v /path/to/Caddyfile:/etc/caddy/Caddyfile \
-v /path/to/dav:/srv \
bipy/webdav:latest

Caddyfile Example

Mini Version: Caddyfile-Mini

Pro Version: Caddyfile-Pro

License

MIT License