1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
dockerfiles/tinyproxy/README.md
2021-06-16 18:24:29 +08:00

31 lines
445 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"
volumes:
- ./data:/etc/tinyproxy
restart: unless-stopped
```
## 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/