发布应用 Neko

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen
2025-08-12 13:17:07 +08:00
parent 33964b6e17
commit 7219a74cf5
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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