updated nextcloud state

This commit is contained in:
Paul 2020-07-30 14:06:59 +02:00
parent 33afaf3577
commit bd3fa82ffa
2 changed files with 14 additions and 81 deletions

View File

@ -1,8 +1,7 @@
---
nextcloud:
version: 18.0.4
version: '18.0.4'
mirror: https://download.nextcloud.com/server/releases
#https://download.nextcloud.com/server/releases/nextcloud-18.0.4.tar.bz2
install_dir: /usr/local/apps
release_dir: /usr/local/apps/releases
user: www-data
@ -14,25 +13,15 @@ nextcloud:
- demo.example.org
- otherdomain.example.org
datadirectory: '/var/www/nextcloud/data'
version: ''
version: '18.0.4.1'
debug: false
dbtype: 'sqlite3'
dbhost: ''
dbname: 'nextcloud'
dbuser: ''
dbpassword: ''
dbtableprefix: ''
installed: false
default_language: 'en'
force_language: 'en'
default_locale: 'en_US'
force_locale: 'en_US'
defaultapp: 'files'
knowledgebaseenabled: true
allow_user_to_change_display_name: true
session_keepalive: true
token_auth_enforced: false
auth.bruteforce.protection.enabled: true
skeletondirectory: '/path/to/nextcloud/core/skeleton'
installed: true
mail_domain: 'example.com'
mail_from_address: 'nextcloud'
mail_smtpdebug: false
@ -48,30 +37,11 @@ nextcloud:
mail_template_class: '\OC\Mail\EMailTemplate'
mail_send_plaintext_only: false
mail_sendmailmode: 'smtp'
overwritehost: ''
overwriteprotocol: ''
overwritewebroot: ''
overwritecondaddr: ''
overwrite.cli.url: ''
htaccess.RewriteBase: '/'
htaccess.IgnoreFrontController: false
proxy: ''
proxyuserpwd: ''
trashbin_retention_obligation: 'auto'
versions_retention_obligation: 'auto'
appcodechecker: true
updatechecker: true
updater.release.channel: 'stable'
has_internet_connection: true
connectivity_check_domains:
- www.nextcloud.com
- www.startpage.com
- www.eff.org
- www.edri.org
check_for_working_wellknown_setup: true
check_for_working_htaccess: true
check_data_directory_permissions: true
config_is_read_only: false
log_type: 'file'
logfile: '/var/log/nextcloud.log'
logfilemode: 0640
@ -80,54 +50,20 @@ nextcloud:
logdateformat: 'F d Y H:i:s'
logtimezone: 'Europe/Paris'
log_query: false
customclient_desktop: 'https://nextcloud.com/install/#install-clients'
customclient_android: 'https://play.google.com/store/apps/details?id=com.nextcloud.client'
customclient_ios: 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'
customclient_ios_appid: 1125420102
appstoreenabled: true
apps_paths:
-
- path: '/var/www/nextcloud/apps'
url: '/apps'
writable: true
enable_previews: true
ldapUserCleanupInterval: 51
sort_groups_by_name: false
comments.managerFactory: '\OC\Comments\ManagerFactory'
systemtags.managerFactory: '\OC\SystemTag\ManagerFactory'
maintenance: false
openssl:
- config: '/absolute/location/of/openssl.cnf'
memcache.local: '\OC\Memcache\APCu'
memcache.distributed: '\OC\Memcache\Memcached'
memcached_servers:
-
- "'localhost' 11211"
cache_path: ''
sharing.managerFactory: '\OC\Share20\ProviderFactory'
sharing.maxAutocompleteResults: 0
sharing.minSearchStringLength: 0
sharing.enable_share_accept: false
sharing.force_share_accept: false
memcache.local: '\\OC\\Memcache\\Redis'
redis:
- host: localhost
port: 6379
sqlite.journal_mode: 'DELETE'
mysql.utf8mb4: false
tempdirectory: '/tmp/nextcloudtemp'
hashing_default_password: false
hashingCost: 10
blacklisted_files:
- .htaccess
share_folder: '/'
theme: ''
cipher: 'AES-256-CFB'
minimum.supported.desktop.version: '2.0.0'
quota_include_external_storage: false
external_storage.auth_availability_delay: 1800
filesystem_check_changes: 0
part_file_in_storage: true
mount_file: '/var/www/nextcloud/data/mount.json'
filesystem_cache_readonly: false
secret: ''
trusted_proxies:
trusted_proxies:
- '203.0.113.45'
- '198.51.100.128'
- '192.168.2.0/24'
@ -139,10 +75,3 @@ nextcloud:
memcache.locking: '\\OC\\Memcache\\Redis'
filelocking.debug: false
upgrade.disable-web: false
debug: false
data-fingerprint: ''
copied_sample_config: true
gs.enabled: false
gs.federation: 'internal'
simpleSignUpLink.shown: true
login_form_autocomplete: true

View File

@ -3,7 +3,11 @@
{%- macro mac(value,last) -%}
{%- if value is mapping %}
{%- for k, v in value.items() %}
{%- if v is true or v is false or v is number %}
"{{ k }}" => {{ v|lower }}{% if last %},{% else %}{% endif %}
{%- else %}
"{{ k }}" => "{{ v }}"{% if last %},{% else %}{% endif %}
{%- endif %}
{%- endfor %}
{%- elif value is sequence and value is not string -%}
array(
@ -23,4 +27,4 @@ $CONFIG = array(
{%- for key, value in nextcloud.config.items() %}
"{{ key }}" => {{ mac(value,loop.last) }}
{%- endfor %}
);
);