Skip to content

Commit

Permalink
don't force traefik on managers
Browse files Browse the repository at this point in the history
optionally force them on workers
  • Loading branch information
BretFisher committed Dec 12, 2018
1 parent a9cbb89 commit 65ed4d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stack-proxy-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ services:
- --consul.prefix=traefik
deploy:
mode: global
placement:
constraints: [node.role == manager]
# if you have enough servers, make this only run on workers, maybe in a public DMZ
# placement:
# constraints: [node.role == worker]
logging:
options:
max-size: "500k"
Expand Down

0 comments on commit 65ed4d5

Please sign in to comment.