Change thrusted domains on docker desktop windows 10

Hello I just created a nextcloud server in a docker container on docker desktop in windows 10 and I can acces the nextcloud dashboard just fine. But when I want to login to the nextcloud page is says that its not a thrusted domain. From some research that I’ve done I understand that I need to add a thrusted ip in config.php

But in the nextcloud container you cant edit the config.php file with sudo nano like you can do on ubuntu. How do i edit the file and add the right ip?

Hi @qamerlynck

I am not a Docker expert and certainly not when it comes to Docker Desktop on Windows 10 :wink: But according to the documentation of the official Nextcloud docker image, you can set the trusted domains via environment variable

https://github.com/nextcloud/docker#auto-configuration-via-environment-variables

Hope that helps.