initial commit
This commit is contained in:
commit
29e7cd5dc0
14
Dockerfile
Normal file
14
Dockerfile
Normal 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
30
radicale.conf
Normal 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]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue