1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/squid/README.md

40 lines
817 B
Markdown
Raw Normal View History

2016-04-03 04:13:05 +02:00
squid
=====
![](https://badge.imagelayers.io/vimagick/squid:latest.svg)
[Squid][1] 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
```yaml
squid:
image: vimagick/squid
ports:
- "3128:3128"
- "3130:3130"
ulimits:
nofile:
soft: 65535
hard: 65535
restart: always
```
2016-04-05 07:10:51 +02:00
> You can mount `squid.conf` file.
2016-04-03 04:13:05 +02:00
## Up and Running
```
# server
$ docker-compose up -d
# client
$ curl -x https://localhost:3128 https://www.google.com/
```
[1]: http://www.squid-cache.org/