1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/squid
2016-05-01 09:06:20 +08:00
..
arm add squid-arm 2016-04-03 16:06:01 +08:00
docker-compose.yml add squid 2016-04-03 10:13:05 +08:00
Dockerfile switch to new domain: easypi.info 2016-05-01 09:06:20 +08:00
README.md update README 2016-04-05 13:10:51 +08:00

squid

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.

docker-compose.yml

squid:
  image: vimagick/squid
  ports:
    - "3128:3128"
    - "3130:3130"
  ulimits:
    nofile:
      soft: 65535
      hard: 65535
  restart: always

You can mount squid.conf file.

Up and Running

# server
$ docker-compose up -d

# client
$ curl -x https://localhost:3128 https://www.google.com/