Skip to content

Commit 00c742e

Browse files
committed
added traefik inline docs
1 parent 5abb3f3 commit 00c742e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stack-proxy-global.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ x-default-opts:
2626

2727
services:
2828

29+
# traefik-init adds the command: config to consul, and then quits
2930
traefik-init:
3031
<<: *default-opts
3132
image: traefik:1.7-alpine
@@ -68,6 +69,7 @@ services:
6869
restart_policy:
6970
condition: on-failure
7071

72+
# actual proxy, running on each node, and using direct host ports
7173
traefik:
7274
<<: *default-opts
7375
image: traefik:1.7-alpine
@@ -101,6 +103,7 @@ services:
101103
# placement:
102104
# constraints: [node.role == worker]
103105

106+
# stores the proxy config
104107
consul:
105108
<<: *default-opts
106109
image: consul

0 commit comments

Comments
 (0)