1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00
This commit is contained in:
kev 2015-07-13 22:49:46 +08:00
parent 42a125fae0
commit 14845e8ca8
2 changed files with 31 additions and 0 deletions

30
polipo/README.md Normal file

@ -0,0 +1,30 @@
Polipo — a caching web proxy
============================
`Polipo` is a small and fast caching web proxy (a web cache, an HTTP proxy, a
proxy server). While Polipo was designed to be used by one person or a small
group of people, there is nothing that prevents it from being used by a larger
group.
## docker-compose.yml
```
polipo:
image: vimagick/polipo
command: authCredentials=username:password
ports:
- "8123:8123"
restart: always
```
## server
```
$ docker-compose up -d
```
## client
```
$ curl -x http://username:password@server:8123 https://www.youtube.com/
```

@ -1,5 +1,6 @@
polipo:
image: vimagick/polipo
command: proxyAddress=0.0.0.0 authCredentials=username:password
ports:
- "8123:8123"
restart: always