From ba661d2f04ad390e9694f1eecb16315e20448db8 Mon Sep 17 00:00:00 2001 From: okxlin Date: Wed, 24 Jan 2024 17:15:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BC=98=E5=8C=96palworld-server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/palworld-server/0.12.0/.env.sample | 2 +- apps/palworld-server/0.12.0/data.yml | 4 ++-- apps/palworld-server/0.12.0/docker-compose.yml | 2 +- apps/palworld-server/latest/.env.sample | 2 +- apps/palworld-server/latest/data.yml | 4 ++-- apps/palworld-server/latest/docker-compose.yml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/palworld-server/0.12.0/.env.sample b/apps/palworld-server/0.12.0/.env.sample index 0c37e6d3..ba88edca 100644 --- a/apps/palworld-server/0.12.0/.env.sample +++ b/apps/palworld-server/0.12.0/.env.sample @@ -7,7 +7,7 @@ MAX_PLAYERS="32" MULTITHREAD_SWITCH="true" PUBLIC_SWITCH="false" PUBLIC_IP="" -PUBLIC_PORT="" +PANEL_APP_PORT_PUBLIC="" UPDATE_SWITCH="true" SERVER_NAME="Default Palworld Server" ADMIN_PASSWORD="palworld" diff --git a/apps/palworld-server/0.12.0/data.yml b/apps/palworld-server/0.12.0/data.yml index dc4e1301..e3562c20 100644 --- a/apps/palworld-server/0.12.0/data.yml +++ b/apps/palworld-server/0.12.0/data.yml @@ -50,7 +50,7 @@ additionalProperties: edit: true envKey: PUBLIC_SWITCH labelEn: Setup server as a community server (true / false) - labelZh: 是否启将服务器设置为社区服务器 (true / false) + labelZh: 是否将服务器设置为社区服务器 (true / false) required: true type: text - default: '' @@ -62,7 +62,7 @@ additionalProperties: type: text - default: '' edit: true - envKey: PUBLIC_PORT + envKey: PANEL_APP_PORT_PUBLIC labelEn: PUBLIC PORT (If not specified, it will be detected automatically) labelZh: 服务器端口 (留空自动检测) required: false diff --git a/apps/palworld-server/0.12.0/docker-compose.yml b/apps/palworld-server/0.12.0/docker-compose.yml index b685a533..b7e327ea 100644 --- a/apps/palworld-server/0.12.0/docker-compose.yml +++ b/apps/palworld-server/0.12.0/docker-compose.yml @@ -19,7 +19,7 @@ services: - MULTITHREADING=${MULTITHREAD_SWITCH} - COMMUNITY=${PUBLIC_SWITCH} - PUBLIC_IP=${PUBLIC_IP} - - PUBLIC_PORT=${PUBLIC_PORT} + - PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC} - UPDATE_ON_BOOT=${UPDATE_SWITCH} - SERVER_NAME=${SERVER_NAME} - ADMIN_PASSWORD=${ADMIN_PASSWORD} diff --git a/apps/palworld-server/latest/.env.sample b/apps/palworld-server/latest/.env.sample index 05543079..e024dcc6 100644 --- a/apps/palworld-server/latest/.env.sample +++ b/apps/palworld-server/latest/.env.sample @@ -6,7 +6,7 @@ MAX_PLAYERS="32" MULTITHREAD_SWITCH="true" PUBLIC_SWITCH="false" PUBLIC_IP="" -PUBLIC_PORT="" +PANEL_APP_PORT_PUBLIC="" UPDATE_SWITCH="false" SERVER_NAME="Default Palworld Server" SERVER_DESC="Default Palworld Server" diff --git a/apps/palworld-server/latest/data.yml b/apps/palworld-server/latest/data.yml index 0951e0bf..17aa7a02 100644 --- a/apps/palworld-server/latest/data.yml +++ b/apps/palworld-server/latest/data.yml @@ -42,7 +42,7 @@ additionalProperties: edit: true envKey: PUBLIC_SWITCH labelEn: Setup server as a community server (true / false) - labelZh: 是否启将服务器设置为社区服务器 (true / false) + labelZh: 是否将服务器设置为社区服务器 (true / false) required: true type: text - default: '' @@ -54,7 +54,7 @@ additionalProperties: type: text - default: '' edit: true - envKey: PUBLIC_PORT + envKey: PANEL_APP_PORT_PUBLIC labelEn: PUBLIC PORT (If not specified, it will be detected automatically) labelZh: 服务器端口 (留空自动检测) required: false diff --git a/apps/palworld-server/latest/docker-compose.yml b/apps/palworld-server/latest/docker-compose.yml index 75e31997..7aac18a7 100644 --- a/apps/palworld-server/latest/docker-compose.yml +++ b/apps/palworld-server/latest/docker-compose.yml @@ -17,7 +17,7 @@ services: - ENABLE_MULTITHREAD=${MULTITHREAD_SWITCH} - IS_PUBLIC=${PUBLIC_SWITCH} - PUBLIC_IP=${PUBLIC_IP} - - PUBLIC_PORT=${PUBLIC_PORT} + - PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC} - FORCE_UPDATE=${UPDATE_SWITCH} - SERVER_NAME=${SERVER_NAME} - SERVER_DESC=${SERVER_DESC}