Nextcloud on Truenas Scale setting up AppAPI

Hi,

I’m needing to install external apps, specifically Contexual Text Backend to get AI working correctly in my Nextcloud.

Problem is, I can’t get the Daemon to connect to my Nextcloud instance .

I click on Register Daemon in AppAPI administration.

When I click on test connection, I get the error Failed to connect to Daemon. Check the logs.

My logs report-

ConnectException cURL error 6: Could not resolve host: nextcloud-appapi-dsp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-appapi-dsp:2375/v1.41/_ping
Could not connect to Docker daemon 

Looking up these I get CURLE_COULDNT_RESOLVE_HOST (6)

Could not resolve host. The given remote host was not resolved. 

Does anyone have experience setting up AppAPI on Nextcloud within Trueenas Scale, and could I ask for some guidance, please?

ChatGPT guided me to Expose Docker Daemon with a Kubernetes Service, but not sure as a bit beyond my understanding.

Thank you. James