From 0d75ea6315a382347227d16105e1819aae39864a Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Mon, 22 Feb 2021 19:17:16 +0100 Subject: [PATCH] Add tinyproxy --- docker/tinyproxy/tinyproxy.conf | 16 ++++++++++++++++ docker/tinyproxy/tinyproxy.yaml | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 docker/tinyproxy/tinyproxy.conf create mode 100644 docker/tinyproxy/tinyproxy.yaml diff --git a/docker/tinyproxy/tinyproxy.conf b/docker/tinyproxy/tinyproxy.conf new file mode 100644 index 0000000..49025e8 --- /dev/null +++ b/docker/tinyproxy/tinyproxy.conf @@ -0,0 +1,16 @@ +User tinyproxy +Group tinyproxy +Port 8888 +Timeout 600 +DefaultErrorFile "/usr/share/tinyproxy/default.html" +StatHost "tinyproxy.stats" +LogFile "/var/log/tinyproxy/tinyproxy.log" +LogLevel Info +MaxClients 100 +MinSpareServers 1 +MaxSpareServers 10 +StartServers 2 +MaxRequestsPerChild 10000 +ViaProxyName "tinyproxy" +ConnectPort 443 +ConnectPort 563 diff --git a/docker/tinyproxy/tinyproxy.yaml b/docker/tinyproxy/tinyproxy.yaml new file mode 100644 index 0000000..28b4432 --- /dev/null +++ b/docker/tinyproxy/tinyproxy.yaml @@ -0,0 +1,7 @@ +tinyproxy: + image: travix/tinyproxy + ports: + - "3128:8888" + volumes: + - /etc/docker/compose/tinyproxy/tinyproxy.conf:/etc/tinyproxy.conf + restart: always