1
0
Fork 0

发布应用 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 cffa1f2ad7
commit 372bbfccfb
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ additionalProperties:
type: number type: number
- default: "56000-56100" - default: "56000-56100"
edit: true edit: true
envKey: NEKO_WEBRTC_EPR envKey: PANEL_APP_PORT_WEBRTC_EPR
labelZh: WebRTC 端口范围 labelZh: WebRTC 端口范围
labelEn: WebRTC port range labelEn: WebRTC port range
required: true required: true

View File

@ -16,13 +16,14 @@ services:
- 1panel-network - 1panel-network
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8080 - ${PANEL_APP_PORT_HTTP}:8080
- ${NEKO_WEBRTC_EPR}:${NEKO_WEBRTC_EPR} - ${PANEL_APP_PORT_WEBRTC_EPR}:${PANEL_APP_PORT_WEBRTC_EPR}
- ${NEKO_WEBRTC_EPR}:${NEKO_WEBRTC_EPR}/udp - ${PANEL_APP_PORT_WEBRTC_EPR}:${PANEL_APP_PORT_WEBRTC_EPR}/udp
env_file: env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env} - ${ENV_FILE:-/etc/1panel/envs/default.env}
environment: environment:
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
- NEKO_WEBRTC_EPR=${PANEL_APP_PORT_WEBRTC_EPR}
- NEKO_WEBRTC_NAT1TO1=127.0.0.1 - NEKO_WEBRTC_NAT1TO1=127.0.0.1
- NEKO_WEBRTC_ICELITE=1 - NEKO_WEBRTC_ICELITE=1
- NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip - NEKO_WEBRTC_IP_RETRIEVAL_URL=https://ifconfig.co/ip