mirror of
https://github.com/simon987/scripts.git
synced 2025-12-14 15:59:04 +00:00
Add squid config
This commit is contained in:
11
mk_squid
Executable file
11
mk_squid
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
confdir="$(dirname "$0")"
|
||||
|
||||
# htpasswd -cb -B -C 10 ./passwords username password
|
||||
|
||||
docker run --name squid -d --restart=always \
|
||||
--publish 3128:3128 \
|
||||
--volume "${confdir}/squid.conf:/etc/squid/squid.conf" \
|
||||
--volume "${confdir}/passwords:/etc/squid/passwords" \
|
||||
sameersbn/squid:3.5.27-2
|
||||
Reference in New Issue
Block a user