fix(nextcloud): use ceph subdir for data

This commit is contained in:
JJGadgets
2023-11-04 15:51:48 +08:00
parent 02034669c7
commit b95dc1b619

View File

@@ -33,7 +33,7 @@ spec:
TZ: "${CONFIG_TZ}"
NC_DOMAIN: &host "${APP_DNS_NEXTCLOUD}"
NC_VERSION: "27.1.3"
NEXTCLOUD_DATA_DIR: "/ceph"
NEXTCLOUD_DATA_DIR: "/ceph/data"
NEXTCLOUD_TRUSTED_DOMAINS: *host
POSTGRES_HOST:
valueFrom:
@@ -331,7 +331,7 @@ spec:
config.php: |-
<?php
$CONFIG = array (
'datadirectory' => '/ceph',
'datadirectory' => '/ceph/data',
'overwrite.cli.url' => 'https://${APP_DNS_NEXTCLOUD}',
'overwriteprotocol' => 'https',
'default_phone_region' => 'SG',