ckulka/baikal-docker

Sharing Plugin

Closed this issue · 3 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?

ckulka commented

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 #97 (comment):

  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!

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

Closing this issue due to inactivity.