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}