修复 v2raya 启动失败

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2024-12-06 17:21:15 +08:00
parent de2abf980b
commit 1f2e32366d
2 changed files with 2 additions and 8 deletions

View File

@ -22,11 +22,8 @@ services:
- /etc/resolv.conf:/etc/resolv.conf - /etc/resolv.conf:/etc/resolv.conf
- /lib/modules:/lib/modules:ro - /lib/modules:/lib/modules:ro
environment: environment:
- V2RAYA_ADDRESS=:::${PANEL_APP_PORT_HTTP} - V2RAYA_ADDRESS=0.0.0.0:${PANEL_APP_PORT_HTTP}
- V2RAYA_PLUGINLISTENPORT=${PANEL_APP_PORT_PLUGIN} - V2RAYA_PLUGINLISTENPORT=${PANEL_APP_PORT_PLUGIN}
- V2RAYA_CONFIG=/etc/v2raya
- V2RAYA_WEBDIR=/etc/v2raya/web
- IPTABLES_MODE=legacy - IPTABLES_MODE=legacy
- V2RAYA_NFTABLES_SUPPORT=off - V2RAYA_NFTABLES_SUPPORT=off
- V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray - V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray
- V2RAYA_LOG_FILE=/tmp/v2raya.log

View File

@ -21,9 +21,6 @@ services:
volumes: volumes:
- ${V2RAYA_ROOT_PATH}/v2raya:/etc/v2raya - ${V2RAYA_ROOT_PATH}/v2raya:/etc/v2raya
environment: environment:
- V2RAYA_ADDRESS=:::2017 - V2RAYA_ADDRESS=0.0.0.0:2017
- V2RAYA_PLUGINLISTENPORT=32346 - V2RAYA_PLUGINLISTENPORT=32346
- V2RAYA_CONFIG=/etc/v2raya
- V2RAYA_WEBDIR=/etc/v2raya/web
- V2RAYA_LOG_FILE=/tmp/v2raya.log
- V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray - V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray