Public Repository

Last pushed: 4 months ago
Short Description
A quick and easy to use Dockerised Tinyproxy
Full Description

Docker Tinyproxy

A quick and easy Dockerised Tinyproxy, adapted from Daniel Middleton's original.

This version simplifies the startup procedure. Instead of passing an ACL on the command line and modifying the tinyproxy configuration file, it simply uses the file at /etc/tinyproxy/tinyproxy.conf.

To configure Tinyproxy, mount your own tinyproxy.conf at this location in the container. The tinyproxy.conf file in the repository should be used as a base for creating your own file.

Note: the default tinyproxy.conf accepts connections only from
127.0.0.1, which is the container itself, so you must use a custom
configuration file with additional Allow directives to make the
container usable.

In addition, this version uses a custom build of tinyproxy (see RateHighway/tinyproxy) that allows log files to be symlinks to device files. The default log file /var/log/tinyproxy/tinyproxy.conf is a symlink to /dev/stdout, which means that Tinyproxy will log to stdout without creating any log files that need to be managed.

Find it on GitHub.

Find it on DockerHub.

Usage

Running a new Tinyproxy container

docker run -d --name=tinyproxy \
  -p 8888:8888 \
  -v /your/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf \
  ratehighway/tinyproxy

Stats

Navigating to http://tinyproxy.stats/ while connected to the proxy will display the Tinyproxy Stats page.

Logging

The default configuration will log to stdout.

Building

Building the tinyproxy image:

docker build -t ratehighway/tinyproxy:latest .

Building the custom tinyproxy binary:

(cd tinyproxy-build && sh build.sh)
Docker Pull Command
Owner
ratehighway

Comments (0)