https://github.com/saghul/docker-nginx-webdav
Docker image using nginx to serve files over WebDAV
https://github.com/saghul/docker-nginx-webdav
Last synced: 6 months ago
JSON representation
Docker image using nginx to serve files over WebDAV
- Host: GitHub
- URL: https://github.com/saghul/docker-nginx-webdav
- Owner: saghul
- Created: 2017-12-18T22:42:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T22:37:13.000Z (over 8 years ago)
- Last Synced: 2025-04-07T01:24:22.493Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# saghul/nginx-webdav
This Container is a simple nginx webserver configured for WebDAV access, and all relevant config files moved out the user via /config for ultimate control.
## Usage
```
docker create \
--name=nginx-webdav \
-v :/config \
-v :/data \
-p 80:80 \
-e TZ= \
saghul/nginx-webdav
```
## Parameters
`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container.
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.`
* `-p 80` - The web-services.
* `-v /config` - Contains all relevant configuration files.
* `-v /data` - Contains all files which will be shared with WebDAV.
* `-e TZ` - timezone ie. `America/New_York`
It is based on Debian with the s6 overlay, for shell access whilst the container is running do `docker exec -it nginx-webdav /bin/bash`.