This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
services:
|
||||
squid:
|
||||
image: ubuntu/squid
|
||||
ports:
|
||||
- "3128:3128"
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./squid.conf:/etc/squid/squid.conf:ro
|
||||
- ./passwd:/etc/squid/passwd:ro
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -3,7 +3,7 @@ acl authenticated proxy_auth REQUIRED
|
||||
http_access allow authenticated
|
||||
http_access deny all
|
||||
|
||||
cache_peer host.docker.internal parent 20171 0 no-query default
|
||||
cache_peer 127.0.0.1 parent 20171 0 no-query default
|
||||
never_direct allow all
|
||||
|
||||
http_port 3128
|
||||
|
||||
Reference in New Issue
Block a user