Use Radicale 3.x for webdav service

- remove ==2.1.12 in Dockerfile pip3 install radicale
- remove -f flag in Dockerfile CMD
- remove deprecated daemon and dns_lookup settings from radicale.conf
- move realm setting from [server] to [auth] in radicale.conf
- add newsfragment
master
ofthesun9 5 years ago
parent 4c9a4b2824
commit 506b7e9372

@ -2,13 +2,13 @@ ARG DISTRO=alpine:3.10
FROM $DISTRO FROM $DISTRO
RUN apk add --no-cache curl bash python3 \ RUN apk add --no-cache curl bash python3 \
&& pip3 install radicale==2.1.12 && pip3 install radicale
COPY radicale.conf /radicale.conf COPY radicale.conf /radicale.conf
EXPOSE 5232/tcp EXPOSE 5232/tcp
VOLUME ["/data"] VOLUME ["/data"]
CMD radicale -f -S -C /radicale.conf CMD radicale -S -C /radicale.conf
HEALTHCHECK CMD curl -f -L http://localhost:5232/ || exit 1 HEALTHCHECK CMD curl -f -L http://localhost:5232/ || exit 1

@ -1,15 +1,13 @@
[server] [server]
hosts = 0.0.0.0:5232, [::]:5232 hosts = 0.0.0.0:5232, [::]:5232
daemon = False
ssl = False ssl = False
dns_lookup = False
realm = Radicale - Password Required
[encoding] [encoding]
request = utf-8 request = utf-8
stock = utf-8 stock = utf-8
[auth] [auth]
realm = Radicale - Password Required
type = http_x_remote_user type = http_x_remote_user
[rights] [rights]

@ -0,0 +1 @@
Use Radicale 3.x for webdav service
Loading…
Cancel
Save