Go to file
Paolo Asperti 6b05d23183
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
update alpine OS
2019-11-07 11:11:13 +01:00
docker-stuff remove stale pid file on startup 2019-09-10 15:28:47 +02:00
patterns first release 2019-08-05 18:40:59 +02:00
storeid first release 2019-08-05 18:40:59 +02:00
.drone.yml drone autotag with tag replacement 2019-08-12 17:20:00 +02:00
.gitignore first release 2019-08-05 18:40:59 +02:00
Dockerfile-alpine update alpine OS 2019-11-07 11:11:13 +01:00
Dockerfile-debian first release 2019-08-05 18:40:59 +02:00
LICENSE Initial commit 2019-08-05 09:51:16 +00:00
README.md added drone support 2019-08-12 16:39:15 +02:00
storeid_rewrite first release 2019-08-05 18:40:59 +02:00

README.md

angry-squid

Build Status

Deploy the squid and let it rule!

features

  • under the hood, there's the usual, mighty squid
  • proxy mode (port 3128) and transparent mode (port 3129)
  • special patterns to keep files in cache for more time
  • alpine package + debian package + docker container (both debian and alpine)

build

debian container:

docker build -t angry-squid:latest -f Dockerfile-debian .

alpine container:

docker build -t angry-squid:latest -f Dockerfile-alpine .

basic usage

docker run -d --name angry-squid \
  -p 3128:3128 \
  -v "$PWD/cache:/var/spool/squid" \
  angry-squid:latest

Now you can change your proxy settings to [the IP of the machine above] with port 3128. For better results, this is the configuration for APT:

cat <<'EOF' | sudo tee /etc/apt/apt.conf.d/80proxy
Acquire::http::Proxy "http://IP.ADDRESS:3128/";
Acquire::https::Proxy "http://IP.ADDRESS:3128/";
EOF

Just replace IP.ADDRESS with the correct ip address