@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user