mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-09 13:47:10 +02:00
add tinyproxy
This commit is contained in:
parent
7a7bc940e4
commit
049f89b707
@ -39,7 +39,6 @@ A collection of delicious docker recipes.
|
|||||||
- [ ] rtmpdump
|
- [ ] rtmpdump
|
||||||
- [ ] sensu
|
- [ ] sensu
|
||||||
- [ ] ssf
|
- [ ] ssf
|
||||||
- [ ] tinyproxy
|
|
||||||
- [ ] tshark
|
- [ ] tshark
|
||||||
- [ ] youtube-upload
|
- [ ] youtube-upload
|
||||||
- [ ] xl2tpd
|
- [ ] xl2tpd
|
||||||
@ -185,6 +184,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] squid
|
- [x] squid
|
||||||
- [x] stunnel
|
- [x] stunnel
|
||||||
- [x] stunnel-arm
|
- [x] stunnel-arm
|
||||||
|
- [x] tinyproxy
|
||||||
- [x] tor
|
- [x] tor
|
||||||
- [x] traefik-arm
|
- [x] traefik-arm
|
||||||
|
|
||||||
|
18
tinyproxy/Dockerfile
Normal file
18
tinyproxy/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for tinyproxy
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache tinyproxy \
|
||||||
|
&& sed -i -e '/^Allow /s/^/#/' \
|
||||||
|
-e '/^ConnectPort /s/^/#/' \
|
||||||
|
-e '/^#DisableViaHeader /s/^#//' \
|
||||||
|
/etc/tinyproxy/tinyproxy.conf
|
||||||
|
|
||||||
|
VOLUME /etc/tinyproxy
|
||||||
|
EXPOSE 8888
|
||||||
|
|
||||||
|
CMD ["tinyproxy", "-d"]
|
28
tinyproxy/README.md
Normal file
28
tinyproxy/README.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
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/
|
5
tinyproxy/docker-compose.yml
Normal file
5
tinyproxy/docker-compose.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
tinyproxy:
|
||||||
|
image: vimagick/tinyproxy
|
||||||
|
ports:
|
||||||
|
- "8888:8888"
|
||||||
|
restart: always
|
Loading…
x
Reference in New Issue
Block a user