Created
January 4, 2018 03:00
-
-
Save jmcarbo/48b1ca25746a4cad5cba11b9fbb64609 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
traefikedge: | |
image: traefik:1.4.3-alpine | |
ports: | |
- target: 80 | |
published: 80 #for redirect to HTTPS | |
protocol: tcp | |
mode: host #to bypass ingress mesh, to preserve client ip | |
- target: 443 | |
published: 443 | |
protocol: tcp | |
mode: host #to bypass ingress mesh, to preserve client ip | |
networks: | |
- netfront | |
deploy: | |
mode: global | |
placement: | |
constraints: | |
- node.role == manager |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment