Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.02 KB

README.md

File metadata and controls

56 lines (38 loc) · 2.02 KB

Docker-Radicale

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 the radicale user inside the container
  • Small size: run on python:3-alpine
  • Configurable: Radicale's config can be modified before building this image

Build & Run

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

Radicale authentication

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

Enable Radicale logging

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