Light Accelerator

service: light.ustclug.org

Git Repositry:

DockerHub:

mail list: 轻量级网络加速服务

server:

  • swarm.s.ustclug.org (docker container)
    • light-mysql
    • light-freeradius
    • light-server
    • light-web
  • gateway-el.s.ustclug.org (port mapping)
    • 29979 -> light-server.d.ustclug.org:29979
    • 29980 -> light-server.d.ustclug.org:29980
  • revproxy-el.s.ustclug.org (reverse proxy)
    • light.ustclug.org -> light-web.d.ustclug.org
  • docker2.s.ustclug.org

deploy

deploy script: docker-run-script/light

deploy order:

  1. mysql
  2. freeradius, light-web
  3. squid

Add new domain

git clone https://git.ustclug.org/lug-light/accelerate-list.git
cd accelerate-list
./tools/add-domain.sh accelerate.list www.example.com
git commit -v -a
git push origin master

Travis CI will update PAC files in LUG FTP automatically.