From a17ac234579838cf56bdc85db17f326a285036e3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Doumenjou Date: Tue, 16 Jul 2019 06:48:03 +0200 Subject: [PATCH] Update Dynamic Configuration Reference for both Docker and Marathon --- .../reference/dynamic-configuration/docker.md | 2 + .../dynamic-configuration/docker.yml | 3 + .../dynamic-configuration/labels.yml | 329 +++++++++--------- .../dynamic-configuration/marathon.md | 2 + .../dynamic-configuration/marathon.yml | 2 + docs/mkdocs.yml | 1 + 6 files changed, 174 insertions(+), 165 deletions(-) create mode 100644 docs/content/reference/dynamic-configuration/docker.yml create mode 100644 docs/content/reference/dynamic-configuration/marathon.yml diff --git a/docs/content/reference/dynamic-configuration/docker.md b/docs/content/reference/dynamic-configuration/docker.md index b8c137743..93317e0f1 100644 --- a/docs/content/reference/dynamic-configuration/docker.md +++ b/docs/content/reference/dynamic-configuration/docker.md @@ -6,5 +6,7 @@ Dynamic configuration with Docker Labels The labels are case insensitive. ```yaml +labels: +--8<-- "content/reference/dynamic-configuration/docker.yml" --8<-- "content/reference/dynamic-configuration/labels.yml" ``` diff --git a/docs/content/reference/dynamic-configuration/docker.yml b/docs/content/reference/dynamic-configuration/docker.yml new file mode 100644 index 000000000..f91fef5b1 --- /dev/null +++ b/docs/content/reference/dynamic-configuration/docker.yml @@ -0,0 +1,3 @@ + - "traefik.enable=true" + - "traefik.docker.network=foobar" + - "traefik.docker.lbswarm=true" diff --git a/docs/content/reference/dynamic-configuration/labels.yml b/docs/content/reference/dynamic-configuration/labels.yml index 3cd3e4767..01fd638ec 100644 --- a/docs/content/reference/dynamic-configuration/labels.yml +++ b/docs/content/reference/dynamic-configuration/labels.yml @@ -1,165 +1,164 @@ -labels: -- "traefik.http.middlewares.middleware00.addprefix.prefix=foobar" -- "traefik.http.middlewares.middleware01.basicauth.headerfield=foobar" -- "traefik.http.middlewares.middleware01.basicauth.realm=foobar" -- "traefik.http.middlewares.middleware01.basicauth.removeheader=true" -- "traefik.http.middlewares.middleware01.basicauth.users=foobar, foobar" -- "traefik.http.middlewares.middleware01.basicauth.usersfile=foobar" -- "traefik.http.middlewares.middleware02.buffering.maxrequestbodybytes=42" -- "traefik.http.middlewares.middleware02.buffering.maxresponsebodybytes=42" -- "traefik.http.middlewares.middleware02.buffering.memrequestbodybytes=42" -- "traefik.http.middlewares.middleware02.buffering.memresponsebodybytes=42" -- "traefik.http.middlewares.middleware02.buffering.retryexpression=foobar" -- "traefik.http.middlewares.middleware03.chain.middlewares=foobar, foobar" -- "traefik.http.middlewares.middleware04.circuitbreaker.expression=foobar" -- "traefik.http.middlewares.middleware05.compress=true" -- "traefik.http.middlewares.middleware06.digestauth.headerfield=foobar" -- "traefik.http.middlewares.middleware06.digestauth.realm=foobar" -- "traefik.http.middlewares.middleware06.digestauth.removeheader=true" -- "traefik.http.middlewares.middleware06.digestauth.users=foobar, foobar" -- "traefik.http.middlewares.middleware06.digestauth.usersfile=foobar" -- "traefik.http.middlewares.middleware07.errors.query=foobar" -- "traefik.http.middlewares.middleware07.errors.service=foobar" -- "traefik.http.middlewares.middleware07.errors.status=foobar, foobar" -- "traefik.http.middlewares.middleware08.forwardauth.address=foobar" -- "traefik.http.middlewares.middleware08.forwardauth.authresponseheaders=foobar, foobar" -- "traefik.http.middlewares.middleware08.forwardauth.tls.ca=foobar" -- "traefik.http.middlewares.middleware08.forwardauth.tls.caoptional=true" -- "traefik.http.middlewares.middleware08.forwardauth.tls.cert=foobar" -- "traefik.http.middlewares.middleware08.forwardauth.tls.insecureskipverify=true" -- "traefik.http.middlewares.middleware08.forwardauth.tls.key=foobar" -- "traefik.http.middlewares.middleware08.forwardauth.trustforwardheader=true" -- "traefik.http.middlewares.middleware09.headers.accesscontrolallowcredentials=true" -- "traefik.http.middlewares.middleware09.headers.accesscontrolallowheaders=foobar, foobar" -- "traefik.http.middlewares.middleware09.headers.accesscontrolallowmethods=foobar, foobar" -- "traefik.http.middlewares.middleware09.headers.accesscontrolalloworigin=foobar" -- "traefik.http.middlewares.middleware09.headers.accesscontrolexposeheaders=foobar, foobar" -- "traefik.http.middlewares.middleware09.headers.accesscontrolmaxage=42" -- "traefik.http.middlewares.middleware09.headers.addvaryheader=true" -- "traefik.http.middlewares.middleware09.headers.allowedhosts=foobar, foobar" -- "traefik.http.middlewares.middleware09.headers.browserxssfilter=true" -- "traefik.http.middlewares.middleware09.headers.contentsecuritypolicy=foobar" -- "traefik.http.middlewares.middleware09.headers.contenttypenosniff=true" -- "traefik.http.middlewares.middleware09.headers.custombrowserxssvalue=foobar" -- "traefik.http.middlewares.middleware09.headers.customframeoptionsvalue=foobar" -- "traefik.http.middlewares.middleware09.headers.customrequestheaders.name0=foobar" -- "traefik.http.middlewares.middleware09.headers.customrequestheaders.name1=foobar" -- "traefik.http.middlewares.middleware09.headers.customresponseheaders.name0=foobar" -- "traefik.http.middlewares.middleware09.headers.customresponseheaders.name1=foobar" -- "traefik.http.middlewares.middleware09.headers.forcestsheader=true" -- "traefik.http.middlewares.middleware09.headers.framedeny=true" -- "traefik.http.middlewares.middleware09.headers.hostsproxyheaders=foobar, foobar" -- "traefik.http.middlewares.middleware09.headers.isdevelopment=true" -- "traefik.http.middlewares.middleware09.headers.publickey=foobar" -- "traefik.http.middlewares.middleware09.headers.referrerpolicy=foobar" -- "traefik.http.middlewares.middleware09.headers.sslforcehost=true" -- "traefik.http.middlewares.middleware09.headers.sslhost=foobar" -- "traefik.http.middlewares.middleware09.headers.sslproxyheaders.name0=foobar" -- "traefik.http.middlewares.middleware09.headers.sslproxyheaders.name1=foobar" -- "traefik.http.middlewares.middleware09.headers.sslredirect=true" -- "traefik.http.middlewares.middleware09.headers.ssltemporaryredirect=true" -- "traefik.http.middlewares.middleware09.headers.stsincludesubdomains=true" -- "traefik.http.middlewares.middleware09.headers.stspreload=true" -- "traefik.http.middlewares.middleware09.headers.stsseconds=42" -- "traefik.http.middlewares.middleware10.ipwhitelist.ipstrategy.depth=42" -- "traefik.http.middlewares.middleware10.ipwhitelist.ipstrategy.excludedips=foobar, foobar" -- "traefik.http.middlewares.middleware10.ipwhitelist.sourcerange=foobar, foobar" -- "traefik.http.middlewares.middleware11.maxconn.amount=42" -- "traefik.http.middlewares.middleware11.maxconn.extractorfunc=foobar" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.commonname=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.country=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.domaincomponent=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.locality=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.organization=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.province=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.serialnumber=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.notafter=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.notbefore=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.sans=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.commonname=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.country=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.domaincomponent=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.locality=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.organization=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.province=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.serialnumber=true" -- "traefik.http.middlewares.middleware12.passtlsclientcert.pem=true" -- "traefik.http.middlewares.middleware13.ratelimit.extractorfunc=foobar" -- "traefik.http.middlewares.middleware13.ratelimit.rateset.rate0.average=42" -- "traefik.http.middlewares.middleware13.ratelimit.rateset.rate0.burst=42" -- "traefik.http.middlewares.middleware13.ratelimit.rateset.rate0.period=42" -- "traefik.http.middlewares.middleware13.ratelimit.rateset.rate1.average=42" -- "traefik.http.middlewares.middleware13.ratelimit.rateset.rate1.burst=42" -- "traefik.http.middlewares.middleware13.ratelimit.rateset.rate1.period=42" -- "traefik.http.middlewares.middleware14.redirectregex.permanent=true" -- "traefik.http.middlewares.middleware14.redirectregex.regex=foobar" -- "traefik.http.middlewares.middleware14.redirectregex.replacement=foobar" -- "traefik.http.middlewares.middleware15.redirectscheme.permanent=true" -- "traefik.http.middlewares.middleware15.redirectscheme.port=foobar" -- "traefik.http.middlewares.middleware15.redirectscheme.scheme=foobar" -- "traefik.http.middlewares.middleware16.replacepath.path=foobar" -- "traefik.http.middlewares.middleware17.replacepathregex.regex=foobar" -- "traefik.http.middlewares.middleware17.replacepathregex.replacement=foobar" -- "traefik.http.middlewares.middleware18.retry.attempts=42" -- "traefik.http.middlewares.middleware19.stripprefix.prefixes=foobar, foobar" -- "traefik.http.middlewares.middleware20.stripprefixregex.regex=foobar, foobar" -- "traefik.http.routers.router0.entrypoints=foobar, foobar" -- "traefik.http.routers.router0.middlewares=foobar, foobar" -- "traefik.http.routers.router0.priority=42" -- "traefik.http.routers.router0.rule=foobar" -- "traefik.http.routers.router0.service=foobar" -- "traefik.http.routers.router0.tls=true" -- "traefik.http.routers.router0.tls.options=foobar" -- "traefik.http.routers.router1.entrypoints=foobar, foobar" -- "traefik.http.routers.router1.middlewares=foobar, foobar" -- "traefik.http.routers.router1.priority=42" -- "traefik.http.routers.router1.rule=foobar" -- "traefik.http.routers.router1.service=foobar" -- "traefik.http.routers.router1.tls=true" -- "traefik.http.routers.router1.tls.options=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.headers.name0=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.headers.name1=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.hostname=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.interval=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.path=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.port=42" -- "traefik.http.services.service0.loadbalancer.healthcheck.scheme=foobar" -- "traefik.http.services.service0.loadbalancer.healthcheck.timeout=foobar" -- "traefik.http.services.service0.loadbalancer.passhostheader=true" -- "traefik.http.services.service0.loadbalancer.responseforwarding.flushinterval=foobar" -- "traefik.http.services.service0.loadbalancer.stickiness=true" -- "traefik.http.services.service0.loadbalancer.stickiness.cookiename=foobar" -- "traefik.http.services.service0.loadbalancer.stickiness.httponlycookie=true" -- "traefik.http.services.service0.loadbalancer.stickiness.securecookie=true" -- "traefik.http.services.service0.loadbalancer.server.port=foobar" -- "traefik.http.services.service0.loadbalancer.server.scheme=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.headers.name0=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.headers.name1=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.hostname=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.interval=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.path=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.port=42" -- "traefik.http.services.service1.loadbalancer.healthcheck.scheme=foobar" -- "traefik.http.services.service1.loadbalancer.healthcheck.timeout=foobar" -- "traefik.http.services.service1.loadbalancer.passhostheader=true" -- "traefik.http.services.service1.loadbalancer.responseforwarding.flushinterval=foobar" -- "traefik.http.services.service1.loadbalancer.stickiness=true" -- "traefik.http.services.service1.loadbalancer.stickiness.cookiename=foobar" -- "traefik.http.services.service1.loadbalancer.stickiness.httponlycookie=true" -- "traefik.http.services.service1.loadbalancer.stickiness.securecookie=true" -- "traefik.http.services.service1.loadbalancer.server.port=foobar" -- "traefik.http.services.service1.loadbalancer.server.scheme=foobar" -- "traefik.tcp.routers.tcprouter0.entrypoints=foobar, foobar" -- "traefik.tcp.routers.tcprouter0.rule=foobar" -- "traefik.tcp.routers.tcprouter0.service=foobar" -- "traefik.tcp.routers.tcprouter0.tls=true" -- "traefik.tcp.routers.tcprouter0.tls.options=foobar" -- "traefik.tcp.routers.tcprouter0.tls.passthrough=true" -- "traefik.tcp.routers.tcprouter1.entrypoints=foobar, foobar" -- "traefik.tcp.routers.tcprouter1.rule=foobar" -- "traefik.tcp.routers.tcprouter1.service=foobar" -- "traefik.tcp.routers.tcprouter1.tls=true" -- "traefik.tcp.routers.tcprouter1.tls.options=foobar" -- "traefik.tcp.routers.tcprouter1.tls.passthrough=true" -- "traefik.tcp.services.tcpservice0.loadbalancer.server.port=foobar" -- "traefik.tcp.services.tcpservice1.loadbalancer.server.port=foobar" \ No newline at end of file + - "traefik.http.middlewares.middleware00.addprefix.prefix=foobar" + - "traefik.http.middlewares.middleware01.basicauth.headerfield=foobar" + - "traefik.http.middlewares.middleware01.basicauth.realm=foobar" + - "traefik.http.middlewares.middleware01.basicauth.removeheader=true" + - "traefik.http.middlewares.middleware01.basicauth.users=foobar, foobar" + - "traefik.http.middlewares.middleware01.basicauth.usersfile=foobar" + - "traefik.http.middlewares.middleware02.buffering.maxrequestbodybytes=42" + - "traefik.http.middlewares.middleware02.buffering.maxresponsebodybytes=42" + - "traefik.http.middlewares.middleware02.buffering.memrequestbodybytes=42" + - "traefik.http.middlewares.middleware02.buffering.memresponsebodybytes=42" + - "traefik.http.middlewares.middleware02.buffering.retryexpression=foobar" + - "traefik.http.middlewares.middleware03.chain.middlewares=foobar, foobar" + - "traefik.http.middlewares.middleware04.circuitbreaker.expression=foobar" + - "traefik.http.middlewares.middleware05.compress=true" + - "traefik.http.middlewares.middleware06.digestauth.headerfield=foobar" + - "traefik.http.middlewares.middleware06.digestauth.realm=foobar" + - "traefik.http.middlewares.middleware06.digestauth.removeheader=true" + - "traefik.http.middlewares.middleware06.digestauth.users=foobar, foobar" + - "traefik.http.middlewares.middleware06.digestauth.usersfile=foobar" + - "traefik.http.middlewares.middleware07.errors.query=foobar" + - "traefik.http.middlewares.middleware07.errors.service=foobar" + - "traefik.http.middlewares.middleware07.errors.status=foobar, foobar" + - "traefik.http.middlewares.middleware08.forwardauth.address=foobar" + - "traefik.http.middlewares.middleware08.forwardauth.authresponseheaders=foobar, foobar" + - "traefik.http.middlewares.middleware08.forwardauth.tls.ca=foobar" + - "traefik.http.middlewares.middleware08.forwardauth.tls.caoptional=true" + - "traefik.http.middlewares.middleware08.forwardauth.tls.cert=foobar" + - "traefik.http.middlewares.middleware08.forwardauth.tls.insecureskipverify=true" + - "traefik.http.middlewares.middleware08.forwardauth.tls.key=foobar" + - "traefik.http.middlewares.middleware08.forwardauth.trustforwardheader=true" + - "traefik.http.middlewares.middleware09.headers.accesscontrolallowcredentials=true" + - "traefik.http.middlewares.middleware09.headers.accesscontrolallowheaders=foobar, foobar" + - "traefik.http.middlewares.middleware09.headers.accesscontrolallowmethods=foobar, foobar" + - "traefik.http.middlewares.middleware09.headers.accesscontrolalloworigin=foobar" + - "traefik.http.middlewares.middleware09.headers.accesscontrolexposeheaders=foobar, foobar" + - "traefik.http.middlewares.middleware09.headers.accesscontrolmaxage=42" + - "traefik.http.middlewares.middleware09.headers.addvaryheader=true" + - "traefik.http.middlewares.middleware09.headers.allowedhosts=foobar, foobar" + - "traefik.http.middlewares.middleware09.headers.browserxssfilter=true" + - "traefik.http.middlewares.middleware09.headers.contentsecuritypolicy=foobar" + - "traefik.http.middlewares.middleware09.headers.contenttypenosniff=true" + - "traefik.http.middlewares.middleware09.headers.custombrowserxssvalue=foobar" + - "traefik.http.middlewares.middleware09.headers.customframeoptionsvalue=foobar" + - "traefik.http.middlewares.middleware09.headers.customrequestheaders.name0=foobar" + - "traefik.http.middlewares.middleware09.headers.customrequestheaders.name1=foobar" + - "traefik.http.middlewares.middleware09.headers.customresponseheaders.name0=foobar" + - "traefik.http.middlewares.middleware09.headers.customresponseheaders.name1=foobar" + - "traefik.http.middlewares.middleware09.headers.forcestsheader=true" + - "traefik.http.middlewares.middleware09.headers.framedeny=true" + - "traefik.http.middlewares.middleware09.headers.hostsproxyheaders=foobar, foobar" + - "traefik.http.middlewares.middleware09.headers.isdevelopment=true" + - "traefik.http.middlewares.middleware09.headers.publickey=foobar" + - "traefik.http.middlewares.middleware09.headers.referrerpolicy=foobar" + - "traefik.http.middlewares.middleware09.headers.sslforcehost=true" + - "traefik.http.middlewares.middleware09.headers.sslhost=foobar" + - "traefik.http.middlewares.middleware09.headers.sslproxyheaders.name0=foobar" + - "traefik.http.middlewares.middleware09.headers.sslproxyheaders.name1=foobar" + - "traefik.http.middlewares.middleware09.headers.sslredirect=true" + - "traefik.http.middlewares.middleware09.headers.ssltemporaryredirect=true" + - "traefik.http.middlewares.middleware09.headers.stsincludesubdomains=true" + - "traefik.http.middlewares.middleware09.headers.stspreload=true" + - "traefik.http.middlewares.middleware09.headers.stsseconds=42" + - "traefik.http.middlewares.middleware10.ipwhitelist.ipstrategy.depth=42" + - "traefik.http.middlewares.middleware10.ipwhitelist.ipstrategy.excludedips=foobar, foobar" + - "traefik.http.middlewares.middleware10.ipwhitelist.sourcerange=foobar, foobar" + - "traefik.http.middlewares.middleware11.maxconn.amount=42" + - "traefik.http.middlewares.middleware11.maxconn.extractorfunc=foobar" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.commonname=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.country=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.domaincomponent=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.locality=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.organization=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.province=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.issuer.serialnumber=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.notafter=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.notbefore=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.sans=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.commonname=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.country=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.domaincomponent=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.locality=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.organization=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.province=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.info.subject.serialnumber=true" + - "traefik.http.middlewares.middleware12.passtlsclientcert.pem=true" + - "traefik.http.middlewares.middleware13.ratelimit.extractorfunc=foobar" + - "traefik.http.middlewares.middleware13.ratelimit.rateset.rate0.average=42" + - "traefik.http.middlewares.middleware13.ratelimit.rateset.rate0.burst=42" + - "traefik.http.middlewares.middleware13.ratelimit.rateset.rate0.period=42" + - "traefik.http.middlewares.middleware13.ratelimit.rateset.rate1.average=42" + - "traefik.http.middlewares.middleware13.ratelimit.rateset.rate1.burst=42" + - "traefik.http.middlewares.middleware13.ratelimit.rateset.rate1.period=42" + - "traefik.http.middlewares.middleware14.redirectregex.permanent=true" + - "traefik.http.middlewares.middleware14.redirectregex.regex=foobar" + - "traefik.http.middlewares.middleware14.redirectregex.replacement=foobar" + - "traefik.http.middlewares.middleware15.redirectscheme.permanent=true" + - "traefik.http.middlewares.middleware15.redirectscheme.port=foobar" + - "traefik.http.middlewares.middleware15.redirectscheme.scheme=foobar" + - "traefik.http.middlewares.middleware16.replacepath.path=foobar" + - "traefik.http.middlewares.middleware17.replacepathregex.regex=foobar" + - "traefik.http.middlewares.middleware17.replacepathregex.replacement=foobar" + - "traefik.http.middlewares.middleware18.retry.attempts=42" + - "traefik.http.middlewares.middleware19.stripprefix.prefixes=foobar, foobar" + - "traefik.http.middlewares.middleware20.stripprefixregex.regex=foobar, foobar" + - "traefik.http.routers.router0.entrypoints=foobar, foobar" + - "traefik.http.routers.router0.middlewares=foobar, foobar" + - "traefik.http.routers.router0.priority=42" + - "traefik.http.routers.router0.rule=foobar" + - "traefik.http.routers.router0.service=foobar" + - "traefik.http.routers.router0.tls=true" + - "traefik.http.routers.router0.tls.options=foobar" + - "traefik.http.routers.router1.entrypoints=foobar, foobar" + - "traefik.http.routers.router1.middlewares=foobar, foobar" + - "traefik.http.routers.router1.priority=42" + - "traefik.http.routers.router1.rule=foobar" + - "traefik.http.routers.router1.service=foobar" + - "traefik.http.routers.router1.tls=true" + - "traefik.http.routers.router1.tls.options=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.headers.name0=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.headers.name1=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.hostname=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.interval=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.path=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.port=42" + - "traefik.http.services.service0.loadbalancer.healthcheck.scheme=foobar" + - "traefik.http.services.service0.loadbalancer.healthcheck.timeout=foobar" + - "traefik.http.services.service0.loadbalancer.passhostheader=true" + - "traefik.http.services.service0.loadbalancer.responseforwarding.flushinterval=foobar" + - "traefik.http.services.service0.loadbalancer.stickiness=true" + - "traefik.http.services.service0.loadbalancer.stickiness.cookiename=foobar" + - "traefik.http.services.service0.loadbalancer.stickiness.httponlycookie=true" + - "traefik.http.services.service0.loadbalancer.stickiness.securecookie=true" + - "traefik.http.services.service0.loadbalancer.server.port=foobar" + - "traefik.http.services.service0.loadbalancer.server.scheme=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.headers.name0=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.headers.name1=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.hostname=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.interval=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.path=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.port=42" + - "traefik.http.services.service1.loadbalancer.healthcheck.scheme=foobar" + - "traefik.http.services.service1.loadbalancer.healthcheck.timeout=foobar" + - "traefik.http.services.service1.loadbalancer.passhostheader=true" + - "traefik.http.services.service1.loadbalancer.responseforwarding.flushinterval=foobar" + - "traefik.http.services.service1.loadbalancer.stickiness=true" + - "traefik.http.services.service1.loadbalancer.stickiness.cookiename=foobar" + - "traefik.http.services.service1.loadbalancer.stickiness.httponlycookie=true" + - "traefik.http.services.service1.loadbalancer.stickiness.securecookie=true" + - "traefik.http.services.service1.loadbalancer.server.port=foobar" + - "traefik.http.services.service1.loadbalancer.server.scheme=foobar" + - "traefik.tcp.routers.tcprouter0.entrypoints=foobar, foobar" + - "traefik.tcp.routers.tcprouter0.rule=foobar" + - "traefik.tcp.routers.tcprouter0.service=foobar" + - "traefik.tcp.routers.tcprouter0.tls=true" + - "traefik.tcp.routers.tcprouter0.tls.options=foobar" + - "traefik.tcp.routers.tcprouter0.tls.passthrough=true" + - "traefik.tcp.routers.tcprouter1.entrypoints=foobar, foobar" + - "traefik.tcp.routers.tcprouter1.rule=foobar" + - "traefik.tcp.routers.tcprouter1.service=foobar" + - "traefik.tcp.routers.tcprouter1.tls=true" + - "traefik.tcp.routers.tcprouter1.tls.options=foobar" + - "traefik.tcp.routers.tcprouter1.tls.passthrough=true" + - "traefik.tcp.services.tcpservice0.loadbalancer.server.port=foobar" + - "traefik.tcp.services.tcpservice1.loadbalancer.server.port=foobar" \ No newline at end of file diff --git a/docs/content/reference/dynamic-configuration/marathon.md b/docs/content/reference/dynamic-configuration/marathon.md index 60260605d..a1d3d3da9 100644 --- a/docs/content/reference/dynamic-configuration/marathon.md +++ b/docs/content/reference/dynamic-configuration/marathon.md @@ -4,5 +4,7 @@ Dynamic configuration with Marathon Labels {: .subtitle } ```yaml +labels: +--8<-- "content/reference/dynamic-configuration/marathon.yml" --8<-- "content/reference/dynamic-configuration/labels.yml" ``` diff --git a/docs/content/reference/dynamic-configuration/marathon.yml b/docs/content/reference/dynamic-configuration/marathon.yml new file mode 100644 index 000000000..d6adde450 --- /dev/null +++ b/docs/content/reference/dynamic-configuration/marathon.yml @@ -0,0 +1,2 @@ + - "traefik.enable=true" + - "traefik.marathon.ipaddressidx=42" diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index fe9216ff4..a6398a2be 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -148,5 +148,6 @@ nav: - 'Environment variables': 'reference/static-configuration/env.md' - 'Dynamic Configuration': - 'Docker': 'reference/dynamic-configuration/docker.md' + - 'Marathon': 'reference/dynamic-configuration/marathon.md' - 'Kubernetes CRD': 'reference/dynamic-configuration/kubernetes-crd.md' - 'File': 'reference/dynamic-configuration/file.md'