From 00c742eb3738a8e7d3b18e5ec8d8399fcab77a78 Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Fri, 6 Sep 2019 01:33:27 -0400 Subject: [PATCH] added traefik inline docs --- stack-proxy-global.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stack-proxy-global.yml b/stack-proxy-global.yml index 21046bd..67642e4 100644 --- a/stack-proxy-global.yml +++ b/stack-proxy-global.yml @@ -26,6 +26,7 @@ x-default-opts: services: + # traefik-init adds the command: config to consul, and then quits traefik-init: <<: *default-opts image: traefik:1.7-alpine @@ -68,6 +69,7 @@ services: restart_policy: condition: on-failure +# actual proxy, running on each node, and using direct host ports traefik: <<: *default-opts image: traefik:1.7-alpine @@ -101,6 +103,7 @@ services: # placement: # constraints: [node.role == worker] +# stores the proxy config consul: <<: *default-opts image: consul