Portainer not adding trusted domain to config.php

Hi

I’ve installed Nextcloud on my Synology NAS, using Docker + Portainer. I now need to edit the config.php to add a trusted domain. I’ve tried doing this using the Portainer Editor with the environment variable NEXTCLOUD_TRUSTED_DOMAINS=mydomain.

However, when I check the config.php file, it’s not been edited after redeployment of the Docker compose file. I don’t know why and can’t seem to find a way to make this work. Could someone help me on this?

Thanks in advance!

Sounds like a question for portainer support. No idea since they have their own system.

Here is the Nextcloud method if you decide to use it: HowTo: Add a new trusted domain - #29 by djw0mbat

1 Like