CalDAV (calendars, todo-lists) and CardDAV (contacts) server
-
Create config ( https://radicale.org/configuration/ )
Example:
[auth] type = htpasswd htpasswd_filename = /etc/radicale/htpasswd htpasswd_encryption = bcrypt [rights] type = authenticated [logging] level = info
-
Store credentials
htpasswd -cB htpasswd alice htpasswd -B htpasswd bob
-
Test config
docker run --rm \ -v $PWD/config:/etc/radicale/config \ -v $PWD/htpasswd:/etc/radicale/htpasswd \ -p 5232:5232 fphammerle/radicale
-
Start daemon
docker run --name radicale \ -v $PWD/config:/etc/radicale/config:ro \ -v $PWD/htpasswd:/etc/radicale/htpasswd:ro \ -v radicale-collections:/var/lib/radicale/collections:rw \ --detach --restart unless-stopped \ -p 5232:5232 \ fphammerle/radicale
Image contains git
and openssh-client
for use in storage hooks.
Version 2.*
to 3.*
migration guide: https://github.com/Kozea/Radicale/blob/3.0.6/NEWS.md#upgrade-checklist
git clone https://github.com/fphammerle/docker-radicale
cd docker-radicale
- Adapt mount points in docker-compose.yml
docker-compose up