Sign inSign up

mfvdevops/squid-docker-simple-auth

By mfvdevops

•Updated over 6 years ago

Image
0

963

mfvdevops/squid-docker-simple-auth repository overview

⁠squid-docker-simple-auth

A simple (and fragile) Dockerfile for launching an authenticated squid proxy.

The user must specify authentication credentials via the following environment variables:

SQUID_USERNAME=foo
SQUID_PASSWORD=bar

An example invocation would be:

docker run -e SQUID_USERNAME=foo -e SQUID_PASSWORD=bar -p 3128:3128 robhaswell/squid-authenticated

⁠Details

⁠Environment variables

  • SQUID_USERNAME
  • SQUID_PASSWORD

⁠Ports

  • 3128

⁠Volumes

  • /var/log/squid3

⁠Ideas for Improvement

  • Output logs to stdout.
  • The range of authentication options could be expanded through more configuration options.
  • Supply a full configuration file that has been well considered instead of hacking up Ubuntu's defaults.

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

over 6 years ago

docker pull mfvdevops/squid-docker-simple-auth