[squid-users] Docker squid container setup
Amos Jeffries
squid3 at treenet.co.nz
Mon May 25 06:23:53 UTC 2020
On 25/05/20 4:29 am, pmohan wrote:
> how do you set siblings in a docker swam setup .. squid config has to be
> different isnt it ?
That depends on how the containers are configured. Modern Squid use mDNS
or regular DNS name lookup for cache_peer.
So long as the containers have different IPs each, the (m)DNS can
provide those to hostname looks, and your network setup allows them to
communicate there should be no difference between a bunch of VMs,
containers, hardware devices, or any combo you want.
With squid.conf using ${process_name} you could also mix in multi-tenant
instead of containerizing the Squid.
Amos
More information about the squid-users
mailing list