mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
29 lines
398 B
Markdown
29 lines
398 B
Markdown
|
tinyproxy
|
||
|
=========
|
||
|
|
||
|
[Tinyproxy][1] is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems.
|
||
|
|
||
|
## docker-compose.yml
|
||
|
|
||
|
```yaml
|
||
|
tinyproxy:
|
||
|
image: vimagick/tinyproxy
|
||
|
ports:
|
||
|
- "8888:8888"
|
||
|
restart: always
|
||
|
```
|
||
|
|
||
|
## Server Setup
|
||
|
|
||
|
```bash
|
||
|
$ docker-compose up -d
|
||
|
```
|
||
|
|
||
|
## Client Setup
|
||
|
|
||
|
```bash
|
||
|
$ curl -x https://127.0.0.1:8888 https://ifconfig.co
|
||
|
```
|
||
|
|
||
|
[1]: https://tinyproxy.github.io/
|