Proxy server using the Squid application.
It is possible to configure user and password authentication through an environment variable.
Or you can ignore environment variables and use the specific setting in the squid.conf file.
SQUID_USERS = username1=password1,username2=password2,username3=password3
SQUID_LOGIN_MESSAGE = Your Login Message Here
SQUID_ALLOW_UNSECURE = true
true value is possible. Sinalize that you allow access to unusual ports./etc/squid.templates
/etc/squid.templates/*.template to make the files in the /etc/squid.conf directory with replacement of environment variables with their values./etc/squid.conf
/var/log/squid
The default working port for Squid is 3128. But can be modified in the squid.conf file.
version: "3.3"
services:
proxy:
image: sergiocabral/squid
ports:
- 8080:3128
volumes:
- /docker-volumes/squid/templates:/etc/squid.templates
- /docker-volumes/squid/conf:/etc/squid.conf
- /docker-volumes/squid/log:/var/log/squid
environment:
- SQUID_USERS=username1=password1,username2=password2,username3=password3
- SQUID_LOGIN_MESSAGE=Cabrones Proxy Server
- SQUID_ALLOW_UNSECURE=true
Content type
Image
Digest
Size
9.8 MB
Last updated
over 6 years ago
docker pull sergiocabral/squid