summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-18 23:30:48 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-18 23:30:48 +0100
commit6bfcb1f1ecc7b81c99b7775d6c8e069e2097484c (patch)
tree87934a058e30c6b661b21c4440b8a5501bff05ef /roles
parenttomnext-nc: resize root lv (diff)
apps/nextcloud: improve initial config and fix some minor issues
Diffstat (limited to 'roles')
-rw-r--r--roles/apps/nextcloud/tasks/main.yml5
-rw-r--r--roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j22
2 files changed, 2 insertions, 5 deletions
diff --git a/roles/apps/nextcloud/tasks/main.yml b/roles/apps/nextcloud/tasks/main.yml
index d09773ab..53eb080d 100644
--- a/roles/apps/nextcloud/tasks/main.yml
+++ b/roles/apps/nextcloud/tasks/main.yml
@@ -200,9 +200,4 @@
** $ nextcloud-occ {{ item.key }} db:add-missing-indices
** $ nextcloud-occ {{ item.key }} db:convert-filecache-bigint
**
- ** Also please add the following option to the file
- ** "{{ nextcloud_base_path }}/{{ item.key }}/nextcloud/config/config.php"
- **
- ** 'overwriteprotocol' => 'https',
- **
****************************************
diff --git a/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2 b/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2
index 6100a2ab..b77ddeb2 100644
--- a/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2
+++ b/roles/apps/nextcloud/templates/pod-spec-with-mariadb.yml.j2
@@ -14,6 +14,8 @@ containers:
env:
- name: NEXTCLOUD_TRUSTED_DOMAINS
value: "{{ item.value.hostnames | join(' ') }}"
+ - name: OVERWRITEPROTOCOL
+ value: "https"
- name: MYSQL_HOST
value: 127.0.0.1
- name: MYSQL_DATABASE