Skip to content

Radicale CalDAV (calendars, todo-lists) and CardDAV (contacts) server ☎️ πŸ“… πŸ“± ☁️ 🐳 πŸ™

Notifications You must be signed in to change notification settings

fphammerle/docker-radicale

Repository files navigation

Radicale ☎️ πŸ“… πŸ“± ☁️ 🐳

CalDAV (calendars, todo-lists) and CardDAV (contacts) server

https://radicale.org/

Setup

  1. Create config ( https://radicale.org/configuration/ )

    Example:

    [auth]
    type = htpasswd
    htpasswd_filename = /etc/radicale/htpasswd
    htpasswd_encryption = bcrypt
    
    [rights]
    type = authenticated
    
    [logging]
    level = info
    
  2. Store credentials

    htpasswd -cB htpasswd alice
    htpasswd -B htpasswd bob
  3. Test config

    docker run --rm \
        -v $PWD/config:/etc/radicale/config \
        -v $PWD/htpasswd:/etc/radicale/htpasswd \
        -p 5232:5232 fphammerle/radicale
  4. 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

Docker Compose πŸ™

  1. git clone https://github.com/fphammerle/docker-radicale
  2. cd docker-radicale
  3. Adapt mount points in docker-compose.yml
  4. docker-compose up