Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sashgorokhov/docker-nginx-webdav
Webdav server based on nginx
https://github.com/sashgorokhov/docker-nginx-webdav
docker nginx webdav webdav-server
Last synced: 2 months ago
JSON representation
Webdav server based on nginx
- Host: GitHub
- URL: https://github.com/sashgorokhov/docker-nginx-webdav
- Owner: sashgorokhov
- License: mit
- Created: 2016-03-08T11:17:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-22T02:10:06.000Z (over 4 years ago)
- Last Synced: 2023-03-11T11:56:14.981Z (almost 2 years ago)
- Topics: docker, nginx, webdav, webdav-server
- Language: Shell
- Size: 3.91 KB
- Stars: 67
- Watchers: 3
- Forks: 88
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Supported tags and respective `Dockerfile` links
- [`latest` (*Dockerfile*)](https://github.com/sashgorokhov/docker-nginx-webdav/blob/master/Dockerfile)
[![](https://badge.imagelayers.io/sashgorokhov/webdav:latest.svg)](https://imagelayers.io/?images=sashgorokhov/webdav:latest 'Get your own badge on imagelayers.io')
# How to use this image
```console
$ docker run --name webdav -p 80:80 -v /media:/media -d sashgorokhov/webdav
```
This will start a webdav server listening on the default port of 80.
Then access it via `http://localhost:80` or `http://host:80` in a browser.This server will serve files located in your /media folder
Image's supported volumes:
- `/media` - served directoryTo restrict access to only authorized users, you can define two environment variables: `USERNAME` and `PASSWORD`
```console
$ docker run --name webdav -p 80:80 -v /media:/media -e USERNAME=webdav -e PASSWORD=webdav -d sashgorokhov/webdav
```# Supported Docker versions
This image is officially supported on Docker version 1.10.2.
Support for older versions (down to 1.6) is provided on a best-effort basis.
Please see [the Docker installation documentation](https://docs.docker.com/installation/) for details on how to upgrade your Docker daemon.