Athelas-renaud / traefikv2_nextcloud

Docker-compose ready to use files for traefik2 + nextcloud apache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traefik 2 + Nextcloud with https

Taken from multiple parts of the multiverse, sorry for not crediting... This have been tested on an AMD X64 Ubuntu (18.04/20.04)

Requirements

Docker-compose Modify the passwords, and the domains inside files

Launch and upgrade

Go into traefik directory:

docker-compose pull
docker-compose up -d

Repeat into nextcloud directory.

Ensure PHP configuration:

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 :)

About

Docker-compose ready to use files for traefik2 + nextcloud apache