diff --git a/templates/Nextcloud/0/README.md b/templates/Nextcloud/0/README.md index 3c80e4c..180b3a8 100644 --- a/templates/Nextcloud/0/README.md +++ b/templates/Nextcloud/0/README.md @@ -1,5 +1,9 @@ # Nextcloud +## Pre-Requisites + +* Traefik deployed + ## First Run Setup ### Add Configuration For NGINX @@ -10,10 +14,6 @@ Included nginx.conf has only a few minor tweaks from the one located here: https://docs.nextcloud.com/server/stable/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx -??? Template 1.conf is WITHOUT Collabora - -??? Template 2.conf is WITH Collabora - ### Add Your Domain as a Trusted Domain [Official Documentation](https://docs.nextcloud.com/server/latest/admin_manual/installation/installation_wizard.html#trusted-domains) diff --git a/templates/Nextcloud/0/docker-compose.yml b/templates/Nextcloud/0/docker-compose.yml index 85ee6c5..e08a2b0 100644 --- a/templates/Nextcloud/0/docker-compose.yml +++ b/templates/Nextcloud/0/docker-compose.yml @@ -18,23 +18,28 @@ services: {{- if .Values.HOST_LABEL}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} {{- end}} - traefik.enable: true - ### Start Web Segment - traefik.frontend.entryPoints: http,https - traefik.frontend.headers.forceSTSHeader: true - traefik.frontend.headers.referrerPolicy: no-referrer # Security enhancement (Prevents leaking of referer information) - traefik.frontend.headers.SSLRedirect: true - traefik.frontend.headers.STSPreload: true - traefik.frontend.headers.STSSeconds: 15552000 - traefik.frontend.rule: Host:collabora.${TRAEFIK_HOST} - traefik.port: "9980" - ### End Web Segment - networks: - - public-proxy + traefik.enable: false restart: on-failure {{- end}} + cron: + image: nextcloud:fpm-alpine + dns: # Using Cloudflare DNS + - 1.1.1.1 + - 1.0.0.1 + entrypoint: | + bash -c 'bash -s <