1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/squid/docker-stack.yml

21 lines
311 B
YAML
Raw Normal View History

2020-04-23 09:19:28 +02:00
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