commit 29e7cd5dc0e7e510fb13665371566a2ff2a148b8 Author: Frank Adaemmer Date: Tue Nov 29 21:46:40 2022 +0100 initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0acf16b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM alpine + +RUN apk add --no-cache curl bash python3 py3-pip \ + && pip3 install 'radicale<3' passlib + +COPY radicale.conf /radicale.conf + +EXPOSE 5232/tcp +VOLUME ["/data"] + +CMD radicale -C /radicale.conf + +HEALTHCHECK CMD curl -f -L http://localhost:5232/ || exit 1 + diff --git a/radicale.conf b/radicale.conf new file mode 100644 index 0000000..5f34a1c --- /dev/null +++ b/radicale.conf @@ -0,0 +1,30 @@ +[server] +hosts = 0.0.0.0:5232 +ssl = False +dns_lookup = False +realm = Password Required + +[encoding] +request = utf-8 +stock = utf-8 + +[auth] +type = htpasswd +htpasswd_filename = /data/users +htpasswd_encryption = md5 + +[rights] +type = owner_only + +[storage] +type = multifilesystem +filesystem_folder = /data/collections + +[logging] +#level=debug +debug=true + +[headers] + + +