Add a dav server, related to #68

This commit is contained in:
Pierre Jaury
2016-11-30 14:02:36 +01:00
parent ab06365f09
commit fa912e7889
5 changed files with 65 additions and 0 deletions

10
radicale/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \
radicale@testing \
&& rm -rf /var/cache/apk/*
COPY radicale.conf /radicale.conf
CMD radicale -f -S -C /radicale.conf

32
radicale/radicale.conf Normal file
View File

@@ -0,0 +1,32 @@
[server]
hosts = 0.0.0.0:5232, [::]:5232
daemon = False
ssl = False
dns_lookup = False
realm = Radicale - Password Required
base_prefix = /webdav/
[encoding]
request = utf-8
stock = utf-8
[well-known]
[auth]
type = IMAP
imap_hostname = imap
imap_port = 993
imap_ssl = True
[git]
[rights]
type = owner_only
[storage]
type = filesystem
filesystem_folder = /data
[logging]
[headers]