nextcloud: install preview generators in postStart
This commit is contained in:
parent
358f1e6875
commit
0b5e5d2c17
|
@ -22,19 +22,25 @@ data:
|
||||||
'default_locale' => 'en-gb',
|
'default_locale' => 'en-gb',
|
||||||
'lost_password_link' => 'https://dashboard.${domain}/web/recovery',
|
'lost_password_link' => 'https://dashboard.${domain}/web/recovery',
|
||||||
'enable_previews' => true,
|
'enable_previews' => true,
|
||||||
|
'preview_libreoffice_path' => '/usr/bin/libreoffice',
|
||||||
'enabledPreviewProviders' =>
|
'enabledPreviewProviders' =>
|
||||||
array (
|
array (
|
||||||
'OC\Preview\Movie',
|
0 => 'OC\\Preview\\TXT',
|
||||||
'OC\Preview\PNG',
|
1 => 'OC\\Preview\\MarkDown',
|
||||||
'OC\Preview\JPEG',
|
2 => 'OC\\Preview\\OpenDocument',
|
||||||
'OC\Preview\GIF',
|
3 => 'OC\\Preview\\PDF',
|
||||||
'OC\Preview\BMP',
|
4 => 'OC\\Preview\\MSOffice2003',
|
||||||
'OC\Preview\XBitmap',
|
5 => 'OC\\Preview\\MSOfficeDoc',
|
||||||
'OC\Preview\MP3',
|
6 => 'OC\\Preview\\Image',
|
||||||
'OC\Preview\MP4',
|
7 => 'OC\\Preview\\Photoshop',
|
||||||
'OC\Preview\TXT',
|
8 => 'OC\\Preview\\TIFF',
|
||||||
'OC\Preview\MarkDown',
|
9 => 'OC\\Preview\\SVG',
|
||||||
'OC\Preview\PDF'
|
10 => 'OC\\Preview\\Font',
|
||||||
|
11 => 'OC\\Preview\\MP3',
|
||||||
|
12 => 'OC\\Preview\\Movie',
|
||||||
|
13 => 'OC\\Preview\\MKV',
|
||||||
|
14 => 'OC\\Preview\\MP4',
|
||||||
|
15 => 'OC\\Preview\\AVI',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
#extraVolumes:
|
#extraVolumes:
|
||||||
|
@ -49,7 +55,7 @@ data:
|
||||||
postStartCommand:
|
postStartCommand:
|
||||||
- '/bin/bash'
|
- '/bin/bash'
|
||||||
- '-c'
|
- '-c'
|
||||||
- 'echo hiho | tee /tmp/test'
|
- 'apt update && apt install ffmpeg imagemagick ghostscript libreoffice libreoffice-l10n-de libreoffice-help-de'
|
||||||
#- 'echo hiho && /bin/bash /var/local/setup-apps.sh'
|
#- 'echo hiho && /bin/bash /var/local/setup-apps.sh'
|
||||||
apps:
|
apps:
|
||||||
# Basics
|
# Basics
|
||||||
|
@ -86,6 +92,8 @@ data:
|
||||||
enabled: true
|
enabled: true
|
||||||
- name: metadata
|
- name: metadata
|
||||||
enabled: true
|
enabled: true
|
||||||
|
- name: previewgenerator
|
||||||
|
enabled: true
|
||||||
# TODO handy but incompatible
|
# TODO handy but incompatible
|
||||||
#- name: extract
|
#- name: extract
|
||||||
# enabled: false
|
# enabled: false
|
||||||
|
@ -109,7 +117,7 @@ data:
|
||||||
#- name: theming
|
#- name: theming
|
||||||
# enabled: true
|
# enabled: true
|
||||||
- name: apporder
|
- name: apporder
|
||||||
enabled: true
|
enabled: false
|
||||||
- name: side_menu
|
- name: side_menu
|
||||||
enabled: true
|
enabled: true
|
||||||
- name: breezedark
|
- name: breezedark
|
||||||
|
|
Loading…
Reference in New Issue