Differences
This shows you the differences between two versions of the page.
services:agendav [2024/09/24 13:08] – created willy | services:agendav [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== AgenDAV ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | Unfortunately i didn't managed to make it work with Authelia authentication so i gave up. Also, it might not work as sub-path, and i didn't want to spin up an additional subdomain just for this. The project overall seems abandoned since a few years, anyway. | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | I didn't want to create a dedicated user, since i already have one for Radicale. | ||
- | |||
- | So create the following **docker-compose.yml**: | ||
- | <file - docker-compose.yml> | ||
- | version: " | ||
- | |||
- | services: | ||
- | agendav: | ||
- | image: ghcr.io/ | ||
- | container_name: | ||
- | environment: | ||
- | - AGENDAV_SERVER_NAME=127.0.0.1 | ||
- | - AGENDAV_TITLE=Agend | ||
- | - AGENDAV_FOOTER=Hosted by me | ||
- | - AGENDAV_ENC_KEY=xxxxxxxxx | ||
- | - AGENDAV_CALDAV_SERVER=https:// | ||
- | - AGENDAV_CALDAV_PUBLIC_URL=https:// | ||
- | - AGENDAV_TIMEZONE=UTC | ||
- | - AGENDAV_LANG=en | ||
- | - AGENDAV_LOG_DIR=/ | ||
- | ports: | ||
- | - " | ||
- | </ | ||
- | <code bash> | ||
- | |||
- | Pick an available port. | ||
- | |||
- | then: | ||
- | <code bash> | ||
- | podman compose pull | ||
- | podman compose up | ||
- | </ | ||
- | |||
- | |||
- | ===== Reverse Proxy Configuration ===== | ||
- | |||
- | As for NGINX, this is my best attempt: | ||
- | <file - agendav.conf> | ||
- | location = /agendav { | ||
- | return 301 https:// | ||
- | } | ||
- | |||
- | location /agendav/ { # The trailing / is important! | ||
- | proxy_pass | ||
- | proxy_set_header Connection $http_connection; | ||
- | proxy_set_header Upgrade $http_upgrade; | ||
- | proxy_set_header Host $host; | ||
- | proxy_set_header Authorization ""; | ||
- | } | ||
- | </ | ||
- | |||
- | but it didn't ever really worked. | ||