From bb904f2cee58379330431c7fa6c263cff22d78ac Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Mon, 13 Jan 2025 11:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20nodedb=20=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8F=E8=A2=AB=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/nodebb/3.12.2/data.yml | 7 +++++++ apps/nodebb/3.12.2/docker-compose.yml | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/nodebb/3.12.2/data.yml b/apps/nodebb/3.12.2/data.yml index e1b852f72b42..a161316f7244 100644 --- a/apps/nodebb/3.12.2/data.yml +++ b/apps/nodebb/3.12.2/data.yml @@ -15,6 +15,13 @@ additionalProperties: required: true rule: paramPort type: number + - default: "http://127.0.0.1:4567" + edit: true + envKey: NODEBB_URL + labelZh: 服务地址 + labelEn: Service address + required: true + type: text - default: "" edit: true envKey: NODEBB_ADMIN_USERNAME diff --git a/apps/nodebb/3.12.2/docker-compose.yml b/apps/nodebb/3.12.2/docker-compose.yml index ea0b18f617c7..5c90b7f5314a 100644 --- a/apps/nodebb/3.12.2/docker-compose.yml +++ b/apps/nodebb/3.12.2/docker-compose.yml @@ -25,4 +25,3 @@ services: environment: - TZ=Asia/Shanghai - NODEBB_PORT=4567 - - NODEBB_URL=http://127.0.0.1:4567