Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

If you want to use sing box as relay (e.g in OpenVPN) then setup a simple http server in your OpenVPN server and set TEST_URL to your http://Server-IP

How To Run:

docker build -t singbox-server-selector .

docker run -d \
  -e API_URL="http://API:PORT?" \
  -e BEARER_TOKEN="TOKEN?" \
  -e TEST_URL="TESTURL?" \
  -e TIMEOUT=5000 \
  -e RETRIES=60 \
  -e RETRY_DELAY=10 \
  -e MIN_UPTIME=90 \
  -e CHECK_INTERVAL=60 \
  -e UPDATE_INTERVAL=4 \
  -e LIGHTMODE_MAXIMUM_SERVERS=10 \
  -e PROXY_GROUP_NAME="select" \
  -e LIGHT_MODE=1 \
  --name singbox-server-selector-container \
  singbox-server-selector

TODO:

  • Parallel fallback check
  • Load balance the top 5
  • Add Sampling_type for OpenVPN delay check

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages