配置修复

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
2024-10-31 15:39:05 +08:00
parent 2efd583faf
commit 1b928b2ce6
9 changed files with 98 additions and 3 deletions
+7
View File
@@ -15,3 +15,10 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: "matrix.example.com"
edit: true
envKey: SYNAPSE_SERVER_NAME
labelZh: 服务域名
labelEn: Domain Name
required: false
type: text
+4
View File
@@ -13,6 +13,10 @@ if [ -f .env ]; then
mkdir -p "$ELEMENT_WEB_ROOT_PATH/config"
cp ./conf/config.sample.json "$ELEMENT_WEB_ROOT_PATH/config/config.json"
if [ -n "$SYNAPSE_SERVER_NAME" ]; then
cp ./conf/config.sample.json "$ELEMENT_WEB_ROOT_PATH/config/config.$SYNAPSE_SERVER_NAME.json"
fi
# setup-3 set permission
chmod -R 777 "$ELEMENT_WEB_ROOT_PATH"