From 2b770ae2f852fd7d0cd3c83ddcc26f78132f7284 Mon Sep 17 00:00:00 2001 From: Diogo Gomes Date: Tue, 8 Nov 2016 11:20:50 -0200 Subject: [PATCH] Actually the current Marathon default for exposedByDefault is true, as MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … we can see in https://github.com/containous/traefik/blob/master/configuration.go “defaultMarathon.ExposedByDefault = true” --- docs/toml.md | 2 +- traefik.sample.toml | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/toml.md b/docs/toml.md index b6f476c7e..c44db2360 100644 --- a/docs/toml.md +++ b/docs/toml.md @@ -793,7 +793,7 @@ domain = "marathon.localhost" # Expose Marathon apps by default in traefik # # Optional -# Default: false +# Default: true # # exposedByDefault = true diff --git a/traefik.sample.toml b/traefik.sample.toml index 5942a8b0b..e0bc66eda 100644 --- a/traefik.sample.toml +++ b/traefik.sample.toml @@ -425,12 +425,12 @@ # key = "/etc/ssl/docker.key" # insecureskipverify = true -# Constraints -# -# Optional -# -# constraints = ["tag==api", "tag==he*ld"] -# Matching with containers having the label "traefik.tags" set to "api,helloworld" +# Constraints +# +# Optional +# +# constraints = ["tag==api", "tag==he*ld"] +# Matching with containers having the label "traefik.tags" set to "api,helloworld" # ex: $ docker run -d -P --label traefik.tags=api,helloworld emilevauge/whoami @@ -474,7 +474,7 @@ # Expose Marathon apps by default in traefik # # Optional -# Default: false +# Default: true # # exposedByDefault = true @@ -676,10 +676,10 @@ # prefix = "traefik" # Constraints -# -# Optional -# -# constraints = ["tag==api", "tag==he*ld"] +# +# Optional +# +# constraints = ["tag==api", "tag==he*ld"] # Matching with containers having this tag: "traefik.tags=api,helloworld" ################################################################