Skip to content

Instantly share code, notes, and snippets.

@k2tzumi
Last active July 20, 2016 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k2tzumi/56645df9485b2bc15dea95a806c8ce2f to your computer and use it in GitHub Desktop.
Save k2tzumi/56645df9485b2bc15dea95a806c8ce2f to your computer and use it in GitHub Desktop.
tc-proxy compose
version: '2.0'
networks:
default:
services:
squid:
build:
context: .
dockerfile: Dockerfile
args:
# choose network type
- TC_TYPE=4g
# - TC_TYPE=4g-limit
# - TC_TYPE=3g
# - TC_TYPE=modem-56k
# - TC_TYPE=wifi-a
# - TC_TYPE=wifi-b
# - TC_TYPE=wifi-g
# - TC_TYPE=wifi-n
# - TC_TYPE=terrible
# - TC_TYPE=none
# ..snip..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment