fix(nextcloud): use ceph as default data dir

This commit is contained in:
JJGadgets
2023-11-04 04:47:34 +08:00
parent 6a82963135
commit 02034669c7

View File

@@ -33,7 +33,7 @@ spec:
TZ: "${CONFIG_TZ}"
NC_DOMAIN: &host "${APP_DNS_NEXTCLOUD}"
NC_VERSION: "27.1.3"
NEXTCLOUD_DATA_DIR: "/ncdata"
NEXTCLOUD_DATA_DIR: "/ceph"
NEXTCLOUD_TRUSTED_DOMAINS: *host
POSTGRES_HOST:
valueFrom:
@@ -132,6 +132,8 @@ spec:
main:
- subPath: nextcloud
path: /var/www/html
- subPath: config
path: /var/www/html/config
- subPath: data
path: /ceph
# push:
@@ -284,7 +286,7 @@ spec:
# path: "/var/www/html/config"
main:
- subPath: "data"
path: "/ncdata"
path: "/nas"
# - subPath: "config"
# path: "/var/www/html/config"
tmp:
@@ -329,7 +331,7 @@ spec:
config.php: |-
<?php
$CONFIG = array (
'datadirectory' => '/ncdata',
'datadirectory' => '/ceph',
'overwrite.cli.url' => 'https://${APP_DNS_NEXTCLOUD}',
'overwriteprotocol' => 'https',
'default_phone_region' => 'SG',