gregoryseibert / docker-nextcloud-traefik

Host nextcloud with docker and traefik as a reverse proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Put the password for the mysql user in db.env
  2. Put the password for the mysql root user in docker-compose.yml
  3. Edit the domain name in docker-compose.yml (app -> "labels")
  4. Edit the network name to your traefik netwrok docker-compose.yml (app -> "network" and "networks" at the end of the file)
  5. docker-compose pull
  6. docker-compose build
  7. docker-compose up -d
  8. Complete nexcloud web setup
  9. Add/edit the following two lines in ./data/nextcloud/config/config.php with the IP of your server and domain name 'trusted_proxies' => ['1.1.1.1'], 'overwriteprotocol' => 'https', 'overwrite.cli.url' => 'https://example.com',
  10. docker-compose restart
  11. Profit

About

Host nextcloud with docker and traefik as a reverse proxy


Languages

Language:Dockerfile 100.0%