baikal-docker icon indicating copy to clipboard operation
baikal-docker copied to clipboard

Sharing Plugin

Open Medic-2016 opened this issue 2 years ago • 1 comments

I'm needing to add the sharing plugin to my Baikal instance on Docker. I have it installed through the CLI commands on the official docs. Any ideas on how to make this work?

Medic-2016 avatar Sep 11 '23 13:09 Medic-2016

Hi @Medic-2016 , if you mean this https://sabre.io/dav/caldav-sharing/ plugin, then imho the easiest way to enable it would be similar to https://github.com/ckulka/baikal-docker/issues/97#issuecomment-1279801363:

  1. Create a shell script file 50-add-sharing-plugin.sh file
cat <<EOT >> /var/www/baikal/Core/Frameworks/Baikal/Core/Server.php

// Enable CalDAV Sharing plugin, see https://sabre.io/dav/caldav-sharing/
$server->addPlugin(new Sabre\DAV\Sharing\Plugin());
$server->addPlugin(new Sabre\CalDAV\SharingPlugin());
EOT
  1. Mount this file into the container as /docker-entrypoint.d/50-add-sharing-plugin.sh

Hope this helps!

ckulka avatar Sep 15 '23 17:09 ckulka

This issue looks inactive, I will close it in 7 days.

github-actions[bot] avatar May 07 '24 02:05 github-actions[bot]

Closing this issue due to inactivity.

github-actions[bot] avatar May 15 '24 02:05 github-actions[bot]