overrides/stackspin-nextcloud-override: update preview settings
This commit is contained in:
parent
559e72fdf1
commit
b2fe3a9612
1 changed files with 48 additions and 55 deletions
|
@ -5,45 +5,58 @@ metadata:
|
||||||
name: stackspin-nextcloud-override
|
name: stackspin-nextcloud-override
|
||||||
data:
|
data:
|
||||||
values.yaml: |
|
values.yaml: |
|
||||||
|
# https://artifacthub.io/packages/helm/nextcloud/nextcloud#configuration
|
||||||
nextcloud:
|
nextcloud:
|
||||||
# https://artifacthub.io/packages/helm/nextcloud/nextcloud#configuration
|
|
||||||
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience
|
|
||||||
#'defaultapp' => 'dashboard,files',
|
|
||||||
# https://github.com/moment/moment/tree/2.18.1/locale
|
|
||||||
#'default_language' => 'en_de', # https://www.transifex.com/explore/languages/
|
|
||||||
#'theme' => 'dark',
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
configs:
|
configs:
|
||||||
|
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience
|
||||||
|
#'defaultapp' => 'dashboard,files',
|
||||||
|
# https://github.com/moment/moment/tree/2.18.1/locale
|
||||||
|
#'default_language' => 'en_de', # https://www.transifex.com/explore/languages/
|
||||||
|
#'theme' => 'dark',
|
||||||
|
#'logo_url' => 'https://example.org',
|
||||||
defaults.config.php: |-
|
defaults.config.php: |-
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
'allow_user_to_change_display_name' => false,
|
|
||||||
'default_phone_region' => 'DE',
|
'default_phone_region' => 'DE',
|
||||||
'default_locale' => 'en-gb',
|
'default_locale' => 'en-gb',
|
||||||
|
'default_timezone' => 'Europe/Berlin',
|
||||||
|
|
||||||
|
'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' => '',
|
||||||
|
|
||||||
'enable_previews' => true,
|
'enable_previews' => true,
|
||||||
'preview_libreoffice_path' => '/usr/bin/libreoffice',
|
'enabledPreviewProviders' => [
|
||||||
'enabledPreviewProviders' =>
|
'OC\Preview\BMP',
|
||||||
array (
|
'OC\Preview\GIF',
|
||||||
0 => 'OC\\Preview\\TXT',
|
'OC\Preview\JPEG',
|
||||||
1 => 'OC\\Preview\\MarkDown',
|
'OC\Preview\Krita',
|
||||||
2 => 'OC\\Preview\\OpenDocument',
|
'OC\Preview\MarkDown',
|
||||||
3 => 'OC\\Preview\\PDF',
|
'OC\Preview\MP3',
|
||||||
4 => 'OC\\Preview\\MSOffice2003',
|
'OC\Preview\OpenDocument',
|
||||||
5 => 'OC\\Preview\\MSOfficeDoc',
|
'OC\Preview\PNG',
|
||||||
6 => 'OC\\Preview\\Image',
|
'OC\Preview\TXT',
|
||||||
7 => 'OC\\Preview\\Photoshop',
|
'OC\Preview\XBitmap',
|
||||||
8 => 'OC\\Preview\\TIFF',
|
|
||||||
9 => 'OC\\Preview\\SVG',
|
'OC\Preview\SVG',
|
||||||
10 => 'OC\\Preview\\Font',
|
'OC\Preview\TIFF',
|
||||||
11 => 'OC\\Preview\\MP3',
|
'OC\Preview\PDF',
|
||||||
12 => 'OC\\Preview\\Movie',
|
'OC\Preview\Illustrator',
|
||||||
13 => 'OC\\Preview\\MKV',
|
'OC\Preview\Photoshop',
|
||||||
14 => 'OC\\Preview\\MP4',
|
'OC\Preview\Postscript',
|
||||||
15 => 'OC\\Preview\\AVI',
|
'OC\Preview\Font',
|
||||||
)
|
'OC\Preview\HEIC',
|
||||||
|
'OC\Preview\TGA',
|
||||||
|
'OC\Preview\SGI',
|
||||||
|
|
||||||
|
'OC\Preview\Movie',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
# https://help.nextcloud.com/t/preview-settings-not-described-well/197952/9
|
||||||
#extraVolumes:
|
#extraVolumes:
|
||||||
# - name: nextcloud-poststart
|
# - name: nextcloud-poststart
|
||||||
# configMap:
|
# configMap:
|
||||||
|
@ -84,19 +97,14 @@ data:
|
||||||
#- name: tasks
|
#- name: tasks
|
||||||
# enabled: true
|
# enabled: true
|
||||||
# Convenience
|
# Convenience
|
||||||
- name: previewgenerator
|
# TODO handy but abendoned - https://apps.nextcloud.com/apps/extract
|
||||||
enabled: false #TEMP
|
#- name: extract
|
||||||
#version: "v5.7.0"
|
# enabled: false
|
||||||
#github_repository: nextcloud/previewgenerator
|
# Collaborative apps
|
||||||
#release_filename: "previewgenerator-{{ .version }}.tar.gz"
|
#- name: files_markdown
|
||||||
# TODO handy but abendoned - https://apps.nextcloud.com/apps/extract
|
# enabled: false
|
||||||
#- name: extract
|
#- name: files_texteditor
|
||||||
# enabled: false
|
# enabled: true
|
||||||
# Collaborative apps
|
|
||||||
#- name: files_markdown
|
|
||||||
# enabled: false
|
|
||||||
#- name: files_texteditor
|
|
||||||
# enabled: true
|
|
||||||
- name: notes
|
- name: notes
|
||||||
enabled: true
|
enabled: true
|
||||||
- name: drawio
|
- name: drawio
|
||||||
|
@ -156,18 +164,3 @@ data:
|
||||||
# disable tasks soon
|
# disable tasks soon
|
||||||
# configure firstrunwizard
|
# configure firstrunwizard
|
||||||
# preconfigured: share by mail - https://apps.nextcloud.com/apps/socialsharing_email
|
# preconfigured: share by mail - https://apps.nextcloud.com/apps/socialsharing_email
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
namespace: stackspin-apps
|
|
||||||
name: stackspin-nextcloud-setup
|
|
||||||
data:
|
|
||||||
setup.sh: |
|
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
exec > /var/www/tmp/setup-$(date +"%s").log
|
|
||||||
exec 2> /var/www/tmp/setup-$(date +"%s")_error.log
|
|
||||||
|
|
||||||
apt update
|
|
||||||
apt install --yes ffmpeg imagemagick ghostscript libreoffice libreoffice-l10n-de libreoffice-help-de
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue