mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-22 05:09:09 +02:00
update squid
This commit is contained in:
parent
a5442c59a7
commit
71903c199f
@ -17,10 +17,6 @@ squid:
|
||||
ports:
|
||||
- "3128:3128/tcp"
|
||||
- "3130:3130/udp"
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
|
@ -3,10 +3,4 @@ squid:
|
||||
ports:
|
||||
- "3128:3128/tcp"
|
||||
- "3130:3130/udp"
|
||||
volumes:
|
||||
- ./data/squid.conf:/etc/squid/squid.conf
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
restart: unless-stopped
|
||||
|
@ -3,8 +3,4 @@ squid:
|
||||
ports:
|
||||
- "3128:3128/tcp"
|
||||
- "3130:3130/udp"
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
restart: unless-stopped
|
||||
|
20
squid/docker-stack.yml
Normal file
20
squid/docker-stack.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
squid:
|
||||
image: vimagick/squid
|
||||
networks:
|
||||
- host_network
|
||||
deploy:
|
||||
mode: global
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == worker
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
networks:
|
||||
host_network:
|
||||
external: true
|
||||
name: host
|
Loading…
x
Reference in New Issue
Block a user