2022-04-13 06:46:20 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
namespace: stackspin-apps
|
|
|
|
name: stackspin-nextcloud-override
|
|
|
|
data:
|
|
|
|
values.yaml: |
|
2022-04-28 16:11:07 +00:00
|
|
|
nextcloud:
|
2022-04-29 07:12:09 +00:00
|
|
|
# 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',
|
2022-05-06 13:49:59 +00:00
|
|
|
# https://github.com/moment/moment/tree/2.18.1/locale
|
|
|
|
#'default_language' => 'en_de', # https://www.transifex.com/explore/languages/
|
|
|
|
#'theme' => 'dark',
|
2022-04-28 16:26:39 +00:00
|
|
|
nextcloud:
|
|
|
|
configs:
|
|
|
|
defaults.config.php: |-
|
|
|
|
<?php
|
|
|
|
$CONFIG = array (
|
|
|
|
'allow_user_to_change_display_name' => false,
|
|
|
|
'default_phone_region' => 'DE',
|
2022-05-06 13:49:59 +00:00
|
|
|
'default_locale' => 'en-gb',
|
2023-03-13 13:32:16 +00:00
|
|
|
'lost_password_link' => 'https://dashboard.${domain}/web/recovery',
|
2023-03-30 14:05:55 +00:00
|
|
|
'simpleSignUpLink.shown' => false,
|
2023-03-13 13:32:16 +00:00
|
|
|
'enable_previews' => true,
|
2023-03-29 21:30:26 +00:00
|
|
|
'preview_libreoffice_path' => '/usr/bin/libreoffice',
|
2023-03-13 13:32:16 +00:00
|
|
|
'enabledPreviewProviders' =>
|
|
|
|
array (
|
2023-03-29 21:30:26 +00:00
|
|
|
0 => 'OC\\Preview\\TXT',
|
|
|
|
1 => 'OC\\Preview\\MarkDown',
|
|
|
|
2 => 'OC\\Preview\\OpenDocument',
|
|
|
|
3 => 'OC\\Preview\\PDF',
|
|
|
|
4 => 'OC\\Preview\\MSOffice2003',
|
|
|
|
5 => 'OC\\Preview\\MSOfficeDoc',
|
|
|
|
6 => 'OC\\Preview\\Image',
|
|
|
|
7 => 'OC\\Preview\\Photoshop',
|
|
|
|
8 => 'OC\\Preview\\TIFF',
|
|
|
|
9 => 'OC\\Preview\\SVG',
|
|
|
|
10 => 'OC\\Preview\\Font',
|
|
|
|
11 => 'OC\\Preview\\MP3',
|
|
|
|
12 => 'OC\\Preview\\Movie',
|
|
|
|
13 => 'OC\\Preview\\MKV',
|
|
|
|
14 => 'OC\\Preview\\MP4',
|
|
|
|
15 => 'OC\\Preview\\AVI',
|
2023-03-13 13:32:16 +00:00
|
|
|
)
|
2022-04-28 16:26:39 +00:00
|
|
|
);
|
2023-09-30 17:58:14 +00:00
|
|
|
#extraVolumes:
|
|
|
|
# - name: nextcloud-poststart
|
|
|
|
# configMap:
|
|
|
|
# name: nextcloud-poststart-config
|
|
|
|
#extraVolumeMounts:
|
|
|
|
# - name: nextcloud-poststart
|
|
|
|
# mountPath: /opt
|
|
|
|
#lifecycle:
|
|
|
|
# postStartCommand:
|
|
|
|
# - '/bin/bash'
|
|
|
|
# - '-c'
|
|
|
|
# - '/opt/setup.sh && /var/local/setup-apps.sh'
|
2022-04-13 06:46:20 +00:00
|
|
|
apps:
|
2023-09-28 10:53:17 +00:00
|
|
|
custom:
|
|
|
|
# Basics
|
2024-10-03 11:03:38 +00:00
|
|
|
#- name: bruteforcesettings
|
|
|
|
# enabled: false
|
|
|
|
#- name: password_policy
|
|
|
|
# enabled: false
|
2024-10-03 10:52:16 +00:00
|
|
|
- name: files_external
|
2023-09-28 10:53:17 +00:00
|
|
|
enabled: true
|
2024-08-27 06:29:51 +00:00
|
|
|
# Common Apps
|
|
|
|
#- name: external
|
|
|
|
# enabled: true
|
2024-08-28 09:52:47 +00:00
|
|
|
# github_repository: nextcloud/external
|
|
|
|
# version: "v5.3.1"
|
2024-08-27 06:29:51 +00:00
|
|
|
#- name: polls
|
|
|
|
# enabled: false
|
|
|
|
# #unsure - maybe redundant to forms?
|
|
|
|
#- name: forms
|
|
|
|
# enabled: true
|
2024-11-30 17:09:23 +00:00
|
|
|
#- name: spreed
|
|
|
|
# enabled: false
|
|
|
|
# redundant to Zulip & Jitsi
|
2023-09-28 10:53:17 +00:00
|
|
|
# Management
|
2024-10-03 11:03:38 +00:00
|
|
|
#- name: deck
|
|
|
|
# enabled: true
|
|
|
|
#- name: tasks
|
|
|
|
# enabled: true
|
2023-09-28 10:53:17 +00:00
|
|
|
# Convenience
|
|
|
|
- name: previewgenerator
|
2024-12-02 08:59:40 +00:00
|
|
|
enabled: false
|
|
|
|
#version: "v5.7.0"
|
|
|
|
#github_repository: nextcloud/previewgenerator
|
|
|
|
#release_filename: "previewgenerator-{{ .version }}.tar.gz"
|
2024-08-27 06:29:51 +00:00
|
|
|
# TODO handy but abendoned - https://apps.nextcloud.com/apps/extract
|
2023-09-28 10:53:17 +00:00
|
|
|
#- name: extract
|
|
|
|
# enabled: false
|
|
|
|
# Collaborative apps
|
|
|
|
#- name: files_markdown
|
|
|
|
# enabled: false
|
|
|
|
#- name: files_texteditor
|
|
|
|
# enabled: true
|
|
|
|
- name: notes
|
|
|
|
enabled: true
|
|
|
|
- name: drawio
|
|
|
|
enabled: true
|
2024-10-03 12:33:36 +00:00
|
|
|
version: "v3.0.3"
|
|
|
|
release_filename: "drawio-{{ .version }}.tar.gz"
|
|
|
|
github_repository: jgraph/drawio-nextcloud
|
2024-10-03 11:03:38 +00:00
|
|
|
# INCOMPATIBLE https://apps.nextcloud.com/apps/files_mindmap
|
|
|
|
# name: files_mindmap
|
|
|
|
# enabled: true
|
2023-09-28 10:53:17 +00:00
|
|
|
- name: maps
|
|
|
|
enabled: true
|
2024-12-02 10:04:52 +00:00
|
|
|
version: "1.5.0"
|
|
|
|
raw_url: "https://github.com/nextcloud/maps/releases/download/v{{ .version }}/maps-{{ .version }}.tar.gz"
|
|
|
|
#release_filename: "maps-{{ .version }}.tar.gz"
|
|
|
|
#github_repository: nextcloud/maps
|
2023-09-28 10:53:17 +00:00
|
|
|
# waiting for /var/lib/Stackspin/local-storage/pvc-3b008674-544c-46e7-b456-f20932eb9f23_stackspin-apps_nextcloud-files/custom_apps
|
|
|
|
# Aesthetics
|
|
|
|
#- name: theming
|
2022-10-13 12:30:50 +00:00
|
|
|
# enabled: true
|
2024-10-03 11:03:38 +00:00
|
|
|
#- name: apporder
|
|
|
|
# enabled: false
|
2023-09-28 10:53:17 +00:00
|
|
|
- name: side_menu
|
|
|
|
enabled: true
|
|
|
|
- name: breezedark
|
|
|
|
enabled: true
|
2024-11-30 09:19:10 +00:00
|
|
|
version: "v29.0.0"
|
2024-10-03 17:49:10 +00:00
|
|
|
release_filename: "breezedark.tar.gz"
|
|
|
|
github_repository: mwalbeck/nextcloud-breeze-dark
|
|
|
|
#raw_url: https://github.com/mwalbeck/nextcloud-breeze-dark/releases/download/v29.0.0/breezedark.tar.gz
|
2023-09-28 10:53:17 +00:00
|
|
|
#- name: unsplash
|
|
|
|
# enabled: true
|
|
|
|
# Flow
|
|
|
|
- name: analytics
|
|
|
|
enabled: true
|
2024-10-03 19:17:06 +00:00
|
|
|
#- name: workflow_pdf_converter
|
|
|
|
# enabled: true
|
2023-09-28 10:53:17 +00:00
|
|
|
#- name: files_accesscontrol
|
|
|
|
# enabled: false
|
|
|
|
#- name: files_automatedtagging
|
|
|
|
# enabled: false
|
|
|
|
#- name: workflow_media_converter
|
|
|
|
# enabled: false
|
|
|
|
#- name: workflow_ocr
|
|
|
|
# enabled: false
|
|
|
|
# Testing
|
2024-10-03 11:03:38 +00:00
|
|
|
#- name: event_update_notification
|
|
|
|
# enabled: false
|
2024-05-09 09:36:43 +00:00
|
|
|
- name: google_synchronization
|
|
|
|
enabled: true
|
|
|
|
#- name: calendar_resource_management
|
|
|
|
# enabled: true
|
|
|
|
# TODO install via CLI
|
2023-09-28 10:53:17 +00:00
|
|
|
# TODO disabling user status, files_comments, support, event_update_notification (Notifications for calendar event updates), bruteforcesettings
|
|
|
|
# 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
|