1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/squid/docker-stack.yml
2020-04-23 15:19:28 +08:00

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