overrides/stackspin-nextcloud-override: split up nextcloud configs

This commit is contained in:
xeruf 2024-12-29 18:19:50 +01:00
parent 3e2e95c798
commit 17da72abaf

View file

@ -18,17 +18,18 @@ data:
#'logo_url' => 'https://example.org', #'logo_url' => 'https://example.org',
defaults.config.php: |- defaults.config.php: |-
<?php <?php
$CONFIG = array ( $CONFIG = [
'default_phone_region' => 'DE', 'default_phone_region' => 'DE',
'default_locale' => 'en-gb', 'default_locale' => 'en-gb',
'default_timezone' => 'Europe/Berlin', 'default_timezone' => 'Europe/Berlin',
'allow_user_to_change_display_name' => false, 'allow_user_to_change_display_name' => false,
'lost_password_link' => 'https://dashboard.${domain}/web/recovery', 'lost_password_link' => 'https://dashboard.${domain}/web/recovery',
'simpleSignUpLink.shown' => false, 'simpleSignUpLink.shown' => false,
'skeletondirectory' => '', 'skeletondirectory' => '',
]
previews.config.php: |-
<?php
$CONFIG = [
'enable_previews' => true, 'enable_previews' => true,
'enabledPreviewProviders' => [ 'enabledPreviewProviders' => [
'OC\\Preview\\BMP', 'OC\\Preview\\BMP',
@ -40,14 +41,12 @@ data:
'OC\\Preview\\PNG', 'OC\\Preview\\PNG',
'OC\\Preview\\TXT', 'OC\\Preview\\TXT',
'OC\\Preview\\XBitmap', 'OC\\Preview\\XBitmap',
'OC\\Preview\\MSOfficeDoc', 'OC\\Preview\\MSOfficeDoc',
'OC\\Preview\\MSOffice2003', 'OC\\Preview\\MSOffice2003',
'OC\\Preview\\MSOffice2007', 'OC\\Preview\\MSOffice2007',
'OC\\Preview\\OpenDocument', 'OC\\Preview\\OpenDocument',
'OC\\Preview\\StarOffice', 'OC\\Preview\\StarOffice',
'OC\\Preview\\EMF', 'OC\\Preview\\EMF',
'OC\\Preview\\SVG', 'OC\\Preview\\SVG',
'OC\\Preview\\TIFF', 'OC\\Preview\\TIFF',
'OC\\Preview\\PDF', 'OC\\Preview\\PDF',
@ -58,10 +57,9 @@ data:
'OC\\Preview\\HEIC', 'OC\\Preview\\HEIC',
'OC\\Preview\\TGA', 'OC\\Preview\\TGA',
'OC\\Preview\\SGI', 'OC\\Preview\\SGI',
'OC\\Preview\\Movie' 'OC\\Preview\\Movie'
] ]
); ];
# https://help.nextcloud.com/t/preview-settings-not-described-well/197952/9 # https://help.nextcloud.com/t/preview-settings-not-described-well/197952/9
extraVolumes: extraVolumes:
- name: nas-media - name: nas-media