# Radicale CalDAV Setup CalDAV server for syncing tasks with Tasks.org (via DAVx⁵). ## Docker Compose ```yaml version: '3' services: radicale: image: tomsquest/docker-radicale container_name: radicale ports: - "5232:5232" volumes: - ./radicale/data:/data - ./radicale/config:/config restart: unless-stopped ``` ## Config (with authentication) Create `./radicale/config/config`: ```ini [server] hosts = 0.0.0.0:5232 [auth] type = htpasswd htpasswd_filename = /config/users htpasswd_encryption = bcrypt [storage] filesystem_folder = /data/collections ``` Generate password file: ```bash htpasswd -B -c ./radicale/config/users yourusername ``` ## Start ```bash docker-compose up -d ``` Access `http://truenas-ip:5232` in browser to create calendars/task lists. ## Connect Tasks.org (Android) 1. Install DAVx⁵ (free on F-Droid, paid on Play Store) 2. Add account → Login with URL 3. URL: `http://truenas-ip:5232` 4. Enter username/password 5. In Tasks.org → Settings → Sync → DAVx⁵ → select your lists ## Links - https://github.com/tomsquest/docker-radicale - https://radicale.org/ - https://tasks.org/docs/sync #truenas #caldav #radicale #tasks #self-hosted #docker