nextcloud config

This commit is contained in:
Philip Haupt
2025-10-12 22:03:30 +02:00
parent 4c00c8aa58
commit c2d1117e1b
2 changed files with 353 additions and 18 deletions

View File

@@ -93,18 +93,21 @@ nextcloud:
persistence:
subPath:
# if set, we'll template this list to the NEXTCLOUD_TRUSTED_DOMAINS env var
trustedDomains: []
trustedDomains:
- localhost
- cloud.borninpain.de
- iam.borninpain.de
## SMTP configuration
mail:
enabled: false
enabled: true
# the user we send email as
fromAddress: user
fromAddress: noreply
# the domain we send email from
domain: domain.com
domain: borninpain.de
smtp:
host: domain.com
secure: ssl
port: 465
host: mxe965.netcup.net
secure: ""
port: 587
authtype: LOGIN
name: user
password: pass
@@ -200,11 +203,11 @@ nextcloud:
# Reverse proxy default configuration
reverse-proxy.config.php: true
# S3 Object Storage as primary storage
s3.config.php: true
s3.config.php: false
# SMTP default configuration via environment variables
smtp.config.php: true
# Swift Object Storage as primary storage
swift.config.php: true
swift.config.php: false
# disables the web based updater as the default nextcloud docker image does not support it
upgrade-disable-web.config.php: true
# -- imaginary support config
@@ -212,7 +215,15 @@ nextcloud:
# Extra config files created in /var/www/html/config/
# ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-config-php-file
configs: {}
configs:
custom.php: |-
<?php
$CONFIG = array (
'dbtableprefix' => 'oc_',
'instanceid' => 'ocb8bvdm3qvt',
'passwordsalt' => '5nGOEkkEwGE+suDFOxm/yp0Sw1XHhq',
'secret' => 'ttxARk+gXNdBBBO3AsH5Na2MPU9uy0UHzXqAKx686ykragmC',
);
# For example, to enable image and text file previews:
# previews.config.php: |-
# <?php
@@ -256,6 +267,10 @@ nextcloud:
##
## Extra environment variables
extraEnv:
- name: TRUSTED_PROXIES
value: "172.19.0.0/16 10.0.0.0/16"
- name: FORWARDED_FOR_HEADERS
value: "HTTP_X_FORWARDED HTTP_FORWARDED_FOR"
# - name: SOME_SECRET_ENV
# valueFrom:
# secretKeyRef:
@@ -487,7 +502,7 @@ postgresql:
## External Redis configuration
##
externalRedis:
enabled: false
enabled: true
## Redis host
host: redis-master.redis.svc.cluster.local