add trusted domains

This commit is contained in:
Mauro Torrez 2019-10-02 10:23:18 -03:00
parent cff62f5f2a
commit a187c3e039
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---
# domain, webroot
nextcloud_domain: example.com
nextcloud_trusted_domains: ["{{ nextcloud_domain }}"]
nextcloud_web_root: /
# database

View File

@ -50,6 +50,8 @@
volumes:
- "{{ nextcloud_volume }}:/var/www/html"
env:
NEXTCLOUD_TRUSTED_DOMAINS:
"{{ nextcloud_trusted_domains | join(' ') }}"
SQLITE_DATABASE:
"{{ nextcloud_db_name if nextcloud_db_engine == 'sqlite' else '' }}"
MYSQL_DATABASE: