custom.php modified

This commit is contained in:
Philip Haupt
2025-10-12 23:06:10 +02:00
parent c2d1117e1b
commit e04f2852ea
2 changed files with 9 additions and 13 deletions

View File

@@ -96,12 +96,10 @@ data:
}
custom.php: |-
<?php
$CONFIG = array (
'dbtableprefix' => 'oc_',
'instanceid' => 'ocb8bvdm3qvt',
'passwordsalt' => '5nGOEkkEwGE+suDFOxm/yp0Sw1XHhq',
'secret' => 'ttxARk+gXNdBBBO3AsH5Na2MPU9uy0UHzXqAKx686ykragmC',
);
$trustedDomains = getenv('NEXTCLOUD_TRUSTED_DOMAINS');
if ($trustedDomains) {
$CONFIG['trusted_domains'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}
redis.config.php: |-
<?php
if (getenv('REDIS_HOST')) {
@@ -286,7 +284,7 @@ spec:
metadata:
annotations:
hooks-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
nextcloud-config-hash: 5681a970550c159a349016d58d80be2fe35713759754bb0dfd631f21f38ee6bc
nextcloud-config-hash: e26035b594b048948be450f53885c67a804b492f8dc0ca213a774c91df27257b
php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
labels:
app.kubernetes.io/component: app

View File

@@ -218,12 +218,10 @@ nextcloud:
configs:
custom.php: |-
<?php
$CONFIG = array (
'dbtableprefix' => 'oc_',
'instanceid' => 'ocb8bvdm3qvt',
'passwordsalt' => '5nGOEkkEwGE+suDFOxm/yp0Sw1XHhq',
'secret' => 'ttxARk+gXNdBBBO3AsH5Na2MPU9uy0UHzXqAKx686ykragmC',
);
$trustedDomains = getenv('NEXTCLOUD_TRUSTED_DOMAINS');
if ($trustedDomains) {
$CONFIG['trusted_domains'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}
# For example, to enable image and text file previews:
# previews.config.php: |-
# <?php