mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-16 11:37:32 +02:00
31 lines
592 B
Markdown
31 lines
592 B
Markdown
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/
|
|
```
|