nextcloud: add setup script and migrate format
This commit is contained in:
parent
41fb358312
commit
af1a63d1a0
1 changed files with 113 additions and 98 deletions
|
@ -44,21 +44,21 @@ data:
|
|||
15 => 'OC\\Preview\\AVI',
|
||||
)
|
||||
);
|
||||
#extraVolumes:
|
||||
# - name: nextcloud-onlyoffice-config
|
||||
# configMap:
|
||||
# name: nextcloud-onlyoffice-config-and-scripts
|
||||
#extraVolumeMounts:
|
||||
# - name: nextcloud-onlyoffice-config
|
||||
# mountPath: /var/local
|
||||
extraVolumes:
|
||||
- name: nextcloud-poststart
|
||||
configMap:
|
||||
name: nextcloud-poststart-config
|
||||
extraVolumeMounts:
|
||||
- name: nextcloud-poststart
|
||||
mountPath: /opt
|
||||
|
||||
lifecycle:
|
||||
postStartCommand:
|
||||
- '/bin/bash'
|
||||
- '-c'
|
||||
- 'apt update && apt install --yes ffmpeg imagemagick ghostscript libreoffice libreoffice-l10n-de libreoffice-help-de'
|
||||
#- 'echo hiho && /bin/bash /var/local/setup-apps.sh'
|
||||
- '/opt/setup.sh'
|
||||
# && /bin/bash /var/local/setup-apps.sh'
|
||||
apps:
|
||||
custom:
|
||||
# Basics
|
||||
- name: bruteforcesettings
|
||||
enabled: false
|
||||
|
@ -145,6 +145,21 @@ data:
|
|||
# enabled: true
|
||||
# TODO install via CLI
|
||||
# TODO disabling user status, files_comments, support, event_update_notification (Notifications for calendar event updates), bruteforcesettings
|
||||
# need to disable tasks soon
|
||||
# disable tasks soon
|
||||
# configure firstrunwizard
|
||||
# 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