@tim.s has discovered something important for you guys dealing with collabora docker throwing problems when working with multiple domains
It appears that Collabora configuration has changed in the latest releases. I realised when I checked the docker logs:
-e ERR: Use of domain variable is not supported. First host/domain who tries to connect to COOL is always allowed.
To allow multiple host and its aliases use something like this and pass it as env variable:
For more info: https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html
The linked article confused me a bit, and I did not get it running. Then I discovered that the mentioned configuration apparently will only be available in the upcoming docker release (
For the moment one has to change it inside the docker file. I managed to get it running again with the description mentioned here:
Thought this may be helpful to others as well.
original posting here
Many thanks for heads-up
@JimmyKater: Just tested with current CODE image and it works as described (surprise - RTFM works!)
both Nextclouds 23.0.3 can access Collabora without issues.
Interesting point: it seems 192.168.x.x IPs are allowed by default (?!):
Hey all, i have multiple nextcloud server in my network and CODE-server. How can I make it so that I can only connect to CODE only from one nextcloud server? F.e. i set eviroment variable in my compose file version: '3' services: code: ...
Reading time: 1 mins 🕑
Likes: 1 ❤
@wwe discovered the following hint
Big thanks to him for that valuable hint!
so you better read the whole thing
once you choose the way to self-host you must be prepared to review changes and adopt new parameters… so as in this case domain parameter was changed in version 21-11 of collabora suite, which well documented on collabora site and within this forum as well:
be aware to adopt your reverse proxy from /loolwsd to /coolwsd for newer versions as well:
this thread with provides references which helps you to understand the integration and collect the skills to run you system for long time, and th…