initial ansible code
This commit is contained in:
54
roles/nextcloud/templates/nextcloud.config.json.j2
Normal file
54
roles/nextcloud/templates/nextcloud.config.json.j2
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"system": {
|
||||
"trusted_proxies": {{ trusted_proxies | to_json }},
|
||||
"trusted_domains": [
|
||||
"{{ nextcloud_domain_name }}"
|
||||
],
|
||||
"overwrite.cli.url": "https:\/\/{{ nextcloud_domain_name }}",
|
||||
"datadirectory": "{{ nextcloud_data_dir }}",
|
||||
"dbtype": "pgsql",
|
||||
"dbname": "{{ nextcloud_db_name }}",
|
||||
"dbhost": "{{ nextcloud_db_host }}",
|
||||
"dbport": "{{ nextcloud_db_port }}",
|
||||
"dbtableprefix": "oc_",
|
||||
"dbuser": "{{ nextcloud_db_user }}",
|
||||
"dbpassword": "{{ vault_nextcloud_db_pass }}",
|
||||
"skeletondirectory": "",
|
||||
"default_language": "de",
|
||||
"default_phone_region": "DE",
|
||||
"mail_smtpmode": "smtp",
|
||||
"mail_smtphost": "{{ nextcloud_smtp_host }}",
|
||||
"mail_smtpport": "{{ nextcloud_smtp_port }}",
|
||||
"mail_smtptimeout": 10,
|
||||
"mail_smtpauthtype": "LOGIN",
|
||||
"mail_from_address": "{{ nextcloud_smtp_from_address }}",
|
||||
"mail_sendmailmode": "smtp",
|
||||
"mail_domain": "{{ nextcloud_smtp_from_domain }}",
|
||||
"mail_smtpauth": 1,
|
||||
"mail_smtpname": "{{ nextcloud_smtp_user }}",
|
||||
"mail_smtppassword": "{{ nextcloud_smtp_pass }}",
|
||||
"mail_smtpsecure": "ssl",
|
||||
"loglevel": 1,
|
||||
"logfile": {{ nextcloud_log_file | to_json }},
|
||||
"logtimezone": "Europe\/Berlin",
|
||||
"memcache.local": "\\OC\\Memcache\\APCu",
|
||||
"filelocking.enabled": true,
|
||||
"memcache.distributed": "\\OC\\Memcache\\Redis",
|
||||
"memcache.locking": "\\OC\\Memcache\\Redis",
|
||||
"redis": {
|
||||
"host": {{ redis_unixsocket | to_json }},
|
||||
"port": 0,
|
||||
"timeout": 0,
|
||||
"dbindex": 0
|
||||
},
|
||||
"trashbin_retention_obligation": "auto, 90",
|
||||
"versions_retention_obligation": "auto, 180",
|
||||
"tempdirectory": {{ nextcloud_temp_dir | to_json }},
|
||||
"cache_path": {{ nextcloud_cache_dir | to_json }},
|
||||
"localstorage.allowsymlinks": true,
|
||||
"enable_previews": "true",
|
||||
"preview_max_x": "2048",
|
||||
"preview_max_y": "2048",
|
||||
"preview_max_scale_factor": 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user