From 8d3b8878f0bf47f53f99bacfb272248d55eef5d5 Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Thu, 17 Oct 2024 15:13:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=20Traccar=20=E8=BD=A8?= =?UTF-8?q?=E8=BF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/traccar/6.5/data.yml | 8 ++++++++ apps/traccar/6.5/docker-compose.yml | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/traccar/6.5/data.yml b/apps/traccar/6.5/data.yml index 593618f3..7bb63c80 100644 --- a/apps/traccar/6.5/data.yml +++ b/apps/traccar/6.5/data.yml @@ -15,3 +15,11 @@ additionalProperties: required: true rule: paramPort type: number + - default: 5055 + edit: true + envKey: PANEL_APP_PORT_APP + labelZh: App 通讯端口 + labelEn: App communication port + required: true + rule: paramPort + type: number diff --git a/apps/traccar/6.5/docker-compose.yml b/apps/traccar/6.5/docker-compose.yml index b6226f76..8b0e83d6 100644 --- a/apps/traccar/6.5/docker-compose.yml +++ b/apps/traccar/6.5/docker-compose.yml @@ -14,8 +14,8 @@ services: hostname: traccar ports: - ${PANEL_APP_PORT_HTTP}:8082 - - 5000-5150:5000-5150 - - 5000-5150:5000-5150/udp + - ${PANEL_APP_PORT_APP}:5055 + - ${PANEL_APP_PORT_APP}:5055/udp env_file: - /etc/1panel/envs/global.env - ${ENV_FILE:-/etc/1panel/envs/default.env}