initial commit

This commit is contained in:
Frank Adaemmer 2022-11-29 21:46:40 +01:00
commit 29e7cd5dc0
2 changed files with 44 additions and 0 deletions

14
Dockerfile Normal file
View file

@ -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

30
radicale.conf Normal file
View file

@ -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]