Adjusted variables and docker-compose file to account for multitenancy setups.

This commit is contained in:
Joschka Seydell 2020-11-30 13:39:29 -08:00
parent 67abd4ae45
commit 4992e21ecf
2 changed files with 33 additions and 25 deletions

View file

@ -2,6 +2,7 @@
# defaults file for nextcloud
nextcloud_install_user: '{{ ansible_user }}' # This user must be present on the host
nextcloud_install_path: '/home/{{ nextcloud_install_user }}'
nextcloud_multitenant_label:
nextcloud_mariadb_root_password: changeme
nextcloud_mysql_host: mysqldb
nextcloud_mysql_database: nextcloud
@ -34,3 +35,5 @@ nextcloud_restic_keep_weekly: 4
nextcloud_restic_keep_monthly: 12
nextcloud_restic_keep_yearly: 3
nextcloud_restic_cron_schedule: "0 1 * * *"
# Internal variables
nextcloud_multitenant_postfix: "{{ '_' + nextcloud_multitenant_label if (nextcloud_multitenant_label) else '' }}"