You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
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
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
1
towncrier/newsfragments/1512.misc
Normal file
1
towncrier/newsfragments/1512.misc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Use Radicale 3.x for webdav service
|
||||||
Reference in New Issue
Block a user