Docker image for Radicale, the CalDAV/CardDAV server.
Special points:
- Security: run as normal user (not root!) with the help of su-exec (gosu in C)
- Safe: use Tini to handle init
- Persistent volume:
/radicale/data
can be mounted by your user or root and will still be readable by theradicale
user inside the container - Small size: run on python:3-alpine
- Configurable: Radicale's config can be modified before building this image
Pull from Docker HUB:
docker pull tomsquest/docker-radicale
Run:
docker run -d --name radicale -p 5232:5232 radicale
Run with persistent data and readonly container:
docker run -d --read-only --name radicale -p 5232:5232 -v ~/radicale:/radicale/data radicale
As per the documentation, authentication is better handled by your reverse-proxy (Nginx, Caddy...):
Please note that these modules have not been verified by security experts. If you need a really secure way to handle authentication, you should put Radicale behind a real HTTP server and use its authentication and rights management methods.
See: http://radicale.org/user_documentation/#idid48
If you wish to do otherwise, edit Radicale's config
Either, set debug = True
in Radicale's config and rebuild the image.
Or, run the container with the debug flag, without omitting the configuration:
docker run -d --name radicale -p 5232:5232 -v ~/radicale:/radicale/data radicale \
radicale --debug --config /radicale/config