Simple nginx container exposing a directory with full WEBDAV access.
8.5K
A quick and dirty container that serves data over WEBDAV in an nginx container.
| Path | Description |
|---|---|
| /data | Exported data, if you want to persist, map this path. |
| /tmp/upload | Temporary storage for uploads. Map for speed. |
| /log | A copy of the access log will be written here if USE_PERFLOG=1 |
| Name | Default | Description |
|---|---|---|
| WEBDAV_USERNAME | guest | If set to guest: world RW w/o password. Otherwise, user gets RW and others get R |
| WEBDAV_PASSWORD | Set to password of the user | |
| WORKER_COUNT | 4 | Nginx worker processes |
| WORKER_CONNECTIONS | 1024 | Nginx max connections |
| WORKER_USERNAME | nginx | Run nginx as this user |
| LISTFORMAT | json | How we return directory listings |
| SENDFILE | on | Nginx sendfile enabled? |
| TCP_NOPUSH | off | Nginx tcp_nopush? |
| TRUSTED_SUBNET | all | Only allow write from this subnet (CIDR) |
| LISTENPORT | 80 | Port to listen to |
| LDAP_PROTOCOL | ldaps | Can also be set to unencrypted ldap |
| LDAP_PORT | 636 | Which port to connect to |
| LDAP_SERVER | Server address | |
| LDAP_DN | The domain path to search, e.g. DC=foobar,DC=com | |
| LDAP_DOMAIN | Short hand domain name, e.g. mycompany | |
| LDAP_USER | Which username we will bind with | |
| LDAP_PASSWORD | Password for the bind user | |
| USE_PERFLOG | 0 | Also logs to /log/access.log if set to 1, useful for exporting |
| SSL | off | Set to on, to use SSL over the listenport |
| CERTIFICATE | /etc/certs.d/bad.pem | Use this to map in a proper certificate |
| CERTIFICATE_KEY | /etc/certs.d/bad.key | Use this to map in a proper key |
Content type
Image
Digest
Size
8.5 MB
Last updated
about 8 years ago
docker pull jtilander/webdav