Taken from multiple parts of the multiverse, sorry for not crediting... This have been tested on an AMD X64 Ubuntu (18.04/20.04)
Docker-compose Modify the passwords, and the domains inside files
Go into traefik directory:
docker-compose pull
docker-compose up -d
Repeat into nextcloud directory.
in your /var/www/html/config/config.php add the following :
'trusted_domains' =>
array (
0 => 'YOUR_DOMAIN.COM',
),
'trusted_proxies' =>
array (
0 => '192.168.32.0/16',
1 => '127.0.0.0/16',
),
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://YOUR_DOMAIN.COM',
That's it :)