Trusted domains on Docker / Portainer / Mac Mini

Hi guys,

Just installed Nextcloud 31.0.2 via portainer/docker on a Mac mini which replaces my old Synology.
I’m clearly a newbie, I found some issues with the file sharing on the Docker Desktop on a Mac which is limited by default to some folders (tmp, private, etc).

I change the volume path on the Nextcloud stack to use the folders already setup on the Mac, I put something like “/private/tmp/docker/Nextcloud/www/html”.

Now I have the issue with the trusted domains, unfortunately is it not configured on the GUI of NC and I don’t find the config.php via the terminal.
I find on the internet a variable in the environment section (NEXTCLOUD_TRUSTED_DOMAINS), I add it by modifying the app container with some values (like localhost *.[My sub domain].duckdns.org nextcloud.[My sub domain].duckdns.org) but it doesn’t work.

Some help please.

For information:

  • I’m on NC 31.0.2
  • Mac mini M4
  • Mac OSX Sequoia
  • Nginx for access via duckdns
  • Docker desktop and Portainer on the Mac
  • Don’t know what is the version of PHP or Apache

Hi @reply_to_or_last_poster_username welcome to the community of Nextcloud :handshake:

You started a topic in support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.

Without additional information the community members cannot help you.

you should familiarize yourself with the Docker community image configuration options.

Regards,
wwe

1 Like

I do my best to add some info but it’s difficult to find them all.
Hope it is sufficient!