1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
iiab/roles/nextcloud/templates/autoconfig.php.j2
georgejhunt f319afa432 Test (#20)
* change apache_data to apache_user in all

* no libapach2 in centos. just php. no php-magick in centos

* remove redundant vars entries

* do not create apache user

* missed one pound sign

* soft code all references to apache_user

* centos requires older setuptools

* revert ansible_lsb.id in xsce.yml

* try getting recent pip

* move pip download to 2prep so that kalite success is not dependent on iiab coming first

* still need to replace setuptools in kalite

* add curl -- needed in debian

* massivly substitue iiab for xsce, and rename files

* completed runansible

* centos fixes,install  pip

* appliance means no iptables rules

* change to earlier version of setuptools for centos

* delete file duplicate, hopefully unnecessary. generate the offline docs

* wiki docs errors

* create the admin group -- deleted earlier

* use the --yes option with pip uninstall

* base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io

* network detection broken due to tupo
2017-06-09 16:25:56 -07:00

28 lines
854 B
Django/Jinja

<?php
$AUTOCONFIG = array(
'directory' => '{{ nextcloud_data_dir }}',
'trusted_domains' =>
array (
0 => '{{ iiab_hostname }}.{{ iiab_domain }}',
1 => "{{ iiab_hostname }}",
2 => 'localhost',
3 => 'internet-in-a-box.lan',
4 => 'internet-in-a-box',
5 => 'schoolserver.lan',
6 => 'schoolserver',
7 => 'school.lan',
8 => 'school',
9 => 'box.lan',
10 => 'box',
11 => '172.18.96.1',
),
'overwrite.cli.url' => 'http://{{ iiab_hostname }}.{{ iiab_domain }}/nextcloud',
'dbtype' => 'mysql',
'dbname' => '{{ nextcloud_dbname }}',
'dbhost' => '{{ nextcloud_dbhost }}',
'dbtableprefix' => '',
'dbuser' => '{{ nextcloud_dbuser }}',
'dbpass' => '{{ nextcloud_dbpassword }}',
'adminlogin' => '{{ nextcloud_admin_user }}',
'adminpass' => '{{ nextcloud_admin_password }}',
);