From 7219a74cf5363d3e4302a7ef3fbea5c9100a8ae1 Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Tue, 12 Aug 2025 13:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=BA=94=E7=94=A8=20Neko?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/neko-firefox/3.0.6/data.yml | 2 +- apps/neko-firefox/3.0.6/docker-compose.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/neko-firefox/3.0.6/data.yml b/apps/neko-firefox/3.0.6/data.yml index a8cc519a6..97f8f44ea 100644 --- a/apps/neko-firefox/3.0.6/data.yml +++ b/apps/neko-firefox/3.0.6/data.yml @@ -10,7 +10,7 @@ additionalProperties: type: number - default: "56000-56100" edit: true - envKey: NEKO_WEBRTC_EPR + envKey: PANEL_APP_PORT_WEBRTC_EPR labelZh: WebRTC 端口范围 labelEn: WebRTC port range required: true diff --git a/apps/neko-firefox/3.0.6/docker-compose.yml b/apps/neko-firefox/3.0.6/docker-compose.yml index 633c9b388..034b3e4ae 100644 --- a/apps/neko-firefox/3.0.6/docker-compose.yml +++ b/apps/neko-firefox/3.0.6/docker-compose.yml @@ -16,13 +16,14 @@ services: - 1panel-network ports: - ${PANEL_APP_PORT_HTTP}:8080 - - ${NEKO_WEBRTC_EPR}:${NEKO_WEBRTC_EPR} - - ${NEKO_WEBRTC_EPR}:${NEKO_WEBRTC_EPR}/udp + - ${PANEL_APP_PORT_WEBRTC_EPR}:${PANEL_APP_PORT_WEBRTC_EPR} + - ${PANEL_APP_PORT_WEBRTC_EPR}:${PANEL_APP_PORT_WEBRTC_EPR}/udp env_file: - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} - ${ENV_FILE:-/etc/1panel/envs/default.env} environment: - TZ=Asia/Shanghai + - NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR} - NEKO_WEBRTC_NAT1TO1=127.0.0.1 - NEKO_WEBRTC_ICELITE=1 - NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip