Giter Club home page Giter Club logo

best-cf-ip's Introduction

best-cf-ip

intro

配合 cloudflare & v2ray 使用

在 docker 运行,可以自动化定时更新 CloudFlare CDN 到自己设备最高速的 IP

运行原理是,容器开启时运行一次 best-cf-ip.sh,然后 crontab 每小时运行一次 best-cf-ip.sh

ip-total.txt 网友总结的 cloudflare ips

ip-core.txt 我排除了一些对我来说肯定没速度的 ips

github

https://github.com/duxlong/best-cf-ip

docker hub

https://hub.docker.com/r/duxlong/best-cf-ip

usage

docker pull

docker pull duxlong/best-cf-ip:latest

docker run(根据自己的情况修改)

docker run -d \
    -e DOCKERNAME="v2fly" \
    -v /var/run/docker.sock:/var/run/docker.sock:ro \
    -v /volume1/docker/v2fly:/root/v2ray \
    --name="best-cf-ip" \
    duxlong/best-cf-ip

-e DOCKERNAME="v2fly" 设置 your-docker-v2ray-name

-v /var/run/docker.sock:/var/run/docker.sock:ro 在容器内操作其他容器

-v /volume1/docker/v2fly:/root/v2ray 方便修改 v2ray config 文件

best-cf-ip's People

Contributors

duxlong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.