a docker compose file for wgcf-socks
# use root
git clone https://github.com/lautumn1990/wgcf-socks-docker
cd wgcf-socks-docker
# If you want to use Xray to replace Dante to expose the SOCKS5 port.
# git checkout xray
docker-compose up -d
# check and test
curl --proxy socks5h://127.0.0.1:1080 https://www.cloudflare.com/cdn-cgi/trace
custom license and endpoint
# if you have warp license key
mkdir wgcf
echo "your_key" > wgcf/custom-wgcf-license.conf
# like
# echo "3KOY1u56-pf2S09g7-xxxxxxx" > wgcf/custom-wgcf-license.conf
# if you have a custom endpoint
echo "your_endpoint" > wgcf/custom-wgcf-endpoint.conf
# like
# echo "162.159.195.168:5279" > wgcf/custom-wgcf-endpoint.conf