Skip to content

AgenDAV AgenDAV

Build Status Last Commit OCI Pulls

A self-hosted CalDAV web client with a modern Google Calendar-like interface. Ships with an optional built-in Radicale CalDAV server or connects to your own (Radicale, Baikal, Nextcloud, DAViCal), with SQLite, PostgreSQL, MariaDB, or your own database.

Port 8080
Registry ghcr.io/daemonless/agendav
Daemonless daemonless/agendav
Source agendav/agendav
Website github.com/agendav/agendav

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.

Deployment

Customize Paths, UID & Ports

CalDAV server Where your calendar events and user accounts live. Built-in Radicale works out of the box; pick Your own to connect to an existing CalDAV server.

Database Where the app keeps its data. The default needs nothing else running.

agendav:latest · radicale:latest — data in /containers/agendav/config, /containers/agendav/radicale

Runs a Radicale CalDAV/CardDAV server alongside AgenDAV and creates an initial login account. A file in the app's config folder. Right for one person, nothing extra to run.

1. Save as .env and fill in Calendar username, Calendar password:

# AgenDAV for FreeBSD (Daemonless)
# Copy to .env and edit.

# Where data lives on the host
CONFIG_DATA=/containers/agendav/config
RADICALE_DATA=/containers/agendav/radicale

# Built-in Radicale CalDAV account (used when CalDAV server = Built-in Radicale)
RADICALE_USER=admin
RADICALE_PASSWORD=change-me

# External CalDAV server (used when CalDAV server = Your own CalDAV server)
CALDAV_BASEURL=
CALDAV_BASEURL_PUBLIC=
CALDAV_AUTHMETHOD=basic

# Timezone (TZ identifier)
TZ=UTC
PUID=1000
PGID=1000

2. Save as compose.yaml:

name: agendav

services:
  agendav:
    image: ghcr.io/daemonless/agendav:latest
    container_name: agendav
    restart: unless-stopped
    depends_on:
      - radicale

    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}
      - RADICALE_HOST=${RADICALE_HOST:-radicale}
      - CALDAV_BASEURL=${CALDAV_BASEURL:-}
      - CALDAV_BASEURL_PUBLIC=${CALDAV_BASEURL_PUBLIC:-}
      - CALDAV_AUTHMETHOD=${CALDAV_AUTHMETHOD:-basic}
      # Database (filled by the Database choice; SQLite needs nothing else)
      - DB_DRIVER=${DB_DRIVER:-}
      - DB_HOST=${DB_HOST:-}
      - DB_PORT=${DB_PORT:-}
      - DB_NAME=${DB_NAME:-}
      - DB_USER=${DB_USER:-}
      - DB_PASSWORD=${DB_PASSWORD:-}

    volumes:
      - ${CONFIG_DATA}:/config

    ports:
      - "8080:8080"

  radicale:
    image: ghcr.io/daemonless/radicale:latest
    container_name: radicale
    restart: unless-stopped

    environment:
      - PUID=${PUID:-1000}
      - PGID=${PGID:-1000}
      - TZ=${TZ:-UTC}
      - RADICALE_USER=${RADICALE_USER:-admin}
      - RADICALE_PASSWORD=${RADICALE_PASSWORD:-}

    volumes:
      - ${RADICALE_DATA}:/config

Then run podman-compose up -d.

CalDAV server Where your calendar events and user accounts live. Built-in Radicale works out of the box; pick Your own to connect to an existing CalDAV server.

Database Where the app keeps its data. The default needs nothing else running.

agendav:latest · radicale:latest — data in /containers/agendav/config, /containers/agendav/radicale

Runs a Radicale CalDAV/CardDAV server alongside AgenDAV and creates an initial login account. A file in the app's config folder. Right for one person, nothing extra to run.

# .env

DIRECTOR_PROJECT=agendav
PUID=1000
PGID=1000
TZ=UTC
RADICALE_HOST=radicale
CALDAV_BASEURL=
CALDAV_BASEURL_PUBLIC=
CALDAV_AUTHMETHOD=basic
DB_DRIVER=pdo_sqlite
DB_HOST=
DB_PORT=
DB_NAME=
DB_USER=
DB_PASSWORD=<DB_PASSWORD>
CONFIG_DATA=/containers/agendav/config
RADICALE_DATA=/containers/agendav/radicale
RADICALE_USER=admin
RADICALE_PASSWORD=
# appjail-director.yml

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  agendav:
    name: agendav
    options:
      - container: 'args:--pull'
      - expose: '8080:8080 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
        - RADICALE_HOST: !ENV '${RADICALE_HOST}'
        - CALDAV_BASEURL: !ENV '${CALDAV_BASEURL}'
        - CALDAV_BASEURL_PUBLIC: !ENV '${CALDAV_BASEURL_PUBLIC}'
        - CALDAV_AUTHMETHOD: !ENV '${CALDAV_AUTHMETHOD}'
        - DB_DRIVER: !ENV '${DB_DRIVER}'
        - DB_HOST: !ENV '${DB_HOST}'
        - DB_PORT: !ENV '${DB_PORT}'
        - DB_NAME: !ENV '${DB_NAME}'
        - DB_USER: !ENV '${DB_USER}'
        - DB_PASSWORD: !ENV '${DB_PASSWORD}'
        - CONFIG_DATA: !ENV '${CONFIG_DATA}'
        - RADICALE_DATA: !ENV '${RADICALE_DATA}'
        - RADICALE_USER: !ENV '${RADICALE_USER}'
        - RADICALE_PASSWORD: !ENV '${RADICALE_PASSWORD}'
    volumes:
      - agendav: /config
volumes:
  agendav:
    device: '/containers/agendav'
1
2
3
4
5
6
7
# Makejail

ARG tag=latest

OPTION container=boot
OPTION overwrite=force
OPTION from=ghcr.io/daemonless/agendav:${tag}

Save the files above, then run appjail-director up.

Install and manage AgenDAV on FreeBSD with fjord:

fjord install agendav

Or open the App Store in the fjord web UI and install AgenDAV from the wizard. New to fjord? See the Install Guide.

Open http://<server>:8080 from another machine (the server's own browser can't use a published port).

Parts

Service Image Role
agendav ghcr.io/daemonless/agendav:latest CalDAV web calendar UI docs
radicale ghcr.io/daemonless/radicale:latest Built-in CalDAV/CardDAV server (optional) docs

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container and PHP date.timezone
RADICALE_HOST radicale Hostname where AgenDAV reaches built-in Radicale (set automatically by Fjord)
CALDAV_BASEURL `` External CalDAV server URL (e.g. http://radicale:5232/%u/ or https://nextcloud.example.com/remote.php/dav/)
CALDAV_BASEURL_PUBLIC `` Public CalDAV URL shown to users (defaults to CALDAV_BASEURL)
CALDAV_AUTHMETHOD basic CalDAV HTTP authentication method: basic or digest
DB_DRIVER `` Database driver: pdo_sqlite, pdo_pgsql, or pdo_mysql (Database choice)
DB_HOST `` Database hostname (Database choice)
DB_PORT `` Database port (Database choice)
DB_NAME `` Database name (Database choice)
DB_USER `` Database username (Database choice)
DB_PASSWORD <DB_PASSWORD> Database password (Database choice)
CONFIG_DATA /containers/agendav/config Path to store AgenDAV configuration, SQLite database, cache, and logs
RADICALE_DATA /containers/agendav/radicale Path to store Radicale calendars, contacts, and user accounts
RADICALE_USER admin Initial Radicale login username (Built-in Radicale choice)
RADICALE_PASSWORD change-me Initial Radicale login password (Built-in Radicale choice)
SITE_TITLE `` Page title shown in the web UI
DB_PATH `` SQLite database file path when using SQLite (default: /config/agendav.sqlite)
SESSION_HANDLER `` Session storage backend: native (default for SQLite) or pdo (default for PostgreSQL/MariaDB)
ORM_CACHE `` Doctrine ORM cache driver: filesystem (default) or redis
ORM_CACHE_REDIS_DSN `` Redis DSN when ORM_CACHE=redis (e.g. redis://redis:6379)

Volumes

Path Description
/config Persistent configuration (settings.php, SQLite database, cache, logs, nginx config)

Ports

Port Protocol Description
8080 TCP Web UI

Version Tags

Tag Description Best For
latest Upstream Binary. Built from official release. Most users — recommended.

Implementation Details

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.1).

Need help? Join our Discord community.