mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
21 lines
311 B
YAML
21 lines
311 B
YAML
|
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
|