How to enable collabora in nextcloud dockarized?

So, I want to enable document option in NC so I can edit online but I face a problem that I’m not even sure it’s a problem or not?

What happens is each time I try to open a .docx file, NC prompt me to download it not to open it inside collabora inside NC
I already installed NC office and collabora service and it says it’s connected

As I said each time I try to click on document file NC downloads it not open it inside collabora, no matter if I created that document inside NC or uploaded it from my computer.
And there are no error logs in logging tab

Okay, I tried to connect to it using my NC url and i get this error now:

[PHP] Error: Trying to access array offset on value of type null at /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php#125

POST /index.php/apps/richdocuments/ajax/admin.php
from by esmail at 2022-02-15T06:49:30+00:00

Nevermind, It was problem with the server of collabora the built in one for some reasons does not work