Docker Configuration Reference

Dynamic configuration with Docker Labels

The labels are case-insensitive.

  1. labels:
  2. - "traefik.enable=true"
  3. - "traefik.docker.network=foobar"
  4. ## CODE GENERATED AUTOMATICALLY
  5. ## THIS FILE MUST NOT BE EDITED BY HAND
  6. - "traefik.http.middlewares.middleware01.addprefix.prefix=foobar"
  7. - "traefik.http.middlewares.middleware02.basicauth.headerfield=foobar"
  8. - "traefik.http.middlewares.middleware02.basicauth.realm=foobar"
  9. - "traefik.http.middlewares.middleware02.basicauth.removeheader=true"
  10. - "traefik.http.middlewares.middleware02.basicauth.users=foobar, foobar"
  11. - "traefik.http.middlewares.middleware02.basicauth.usersfile=foobar"
  12. - "traefik.http.middlewares.middleware03.buffering.maxrequestbodybytes=42"
  13. - "traefik.http.middlewares.middleware03.buffering.maxresponsebodybytes=42"
  14. - "traefik.http.middlewares.middleware03.buffering.memrequestbodybytes=42"
  15. - "traefik.http.middlewares.middleware03.buffering.memresponsebodybytes=42"
  16. - "traefik.http.middlewares.middleware03.buffering.retryexpression=foobar"
  17. - "traefik.http.middlewares.middleware04.chain.middlewares=foobar, foobar"
  18. - "traefik.http.middlewares.middleware05.circuitbreaker.checkperiod=42s"
  19. - "traefik.http.middlewares.middleware05.circuitbreaker.expression=foobar"
  20. - "traefik.http.middlewares.middleware05.circuitbreaker.fallbackduration=42s"
  21. - "traefik.http.middlewares.middleware05.circuitbreaker.recoveryduration=42s"
  22. - "traefik.http.middlewares.middleware05.circuitbreaker.responsecode=42"
  23. - "traefik.http.middlewares.middleware06.compress=true"
  24. - "traefik.http.middlewares.middleware06.compress.defaultencoding=foobar"
  25. - "traefik.http.middlewares.middleware06.compress.encodings=foobar, foobar"
  26. - "traefik.http.middlewares.middleware06.compress.excludedcontenttypes=foobar, foobar"
  27. - "traefik.http.middlewares.middleware06.compress.includedcontenttypes=foobar, foobar"
  28. - "traefik.http.middlewares.middleware06.compress.minresponsebodybytes=42"
  29. - "traefik.http.middlewares.middleware07.contenttype=true"
  30. - "traefik.http.middlewares.middleware07.contenttype.autodetect=true"
  31. - "traefik.http.middlewares.middleware08.digestauth.headerfield=foobar"
  32. - "traefik.http.middlewares.middleware08.digestauth.realm=foobar"
  33. - "traefik.http.middlewares.middleware08.digestauth.removeheader=true"
  34. - "traefik.http.middlewares.middleware08.digestauth.users=foobar, foobar"
  35. - "traefik.http.middlewares.middleware08.digestauth.usersfile=foobar"
  36. - "traefik.http.middlewares.middleware09.errors.query=foobar"
  37. - "traefik.http.middlewares.middleware09.errors.service=foobar"
  38. - "traefik.http.middlewares.middleware09.errors.status=foobar, foobar"
  39. - "traefik.http.middlewares.middleware10.forwardauth.addauthcookiestoresponse=foobar, foobar"
  40. - "traefik.http.middlewares.middleware10.forwardauth.address=foobar"
  41. - "traefik.http.middlewares.middleware10.forwardauth.authrequestheaders=foobar, foobar"
  42. - "traefik.http.middlewares.middleware10.forwardauth.authresponseheaders=foobar, foobar"
  43. - "traefik.http.middlewares.middleware10.forwardauth.authresponseheadersregex=foobar"
  44. - "traefik.http.middlewares.middleware10.forwardauth.headerfield=foobar"
  45. - "traefik.http.middlewares.middleware10.forwardauth.tls.ca=foobar"
  46. - "traefik.http.middlewares.middleware10.forwardauth.tls.caoptional=true"
  47. - "traefik.http.middlewares.middleware10.forwardauth.tls.cert=foobar"
  48. - "traefik.http.middlewares.middleware10.forwardauth.tls.insecureskipverify=true"
  49. - "traefik.http.middlewares.middleware10.forwardauth.tls.key=foobar"
  50. - "traefik.http.middlewares.middleware10.forwardauth.trustforwardheader=true"
  51. - "traefik.http.middlewares.middleware11.grpcweb.alloworigins=foobar, foobar"
  52. - "traefik.http.middlewares.middleware12.headers.accesscontrolallowcredentials=true"
  53. - "traefik.http.middlewares.middleware12.headers.accesscontrolallowheaders=foobar, foobar"
  54. - "traefik.http.middlewares.middleware12.headers.accesscontrolallowmethods=foobar, foobar"
  55. - "traefik.http.middlewares.middleware12.headers.accesscontrolalloworiginlist=foobar, foobar"
  56. - "traefik.http.middlewares.middleware12.headers.accesscontrolalloworiginlistregex=foobar, foobar"
  57. - "traefik.http.middlewares.middleware12.headers.accesscontrolexposeheaders=foobar, foobar"
  58. - "traefik.http.middlewares.middleware12.headers.accesscontrolmaxage=42"
  59. - "traefik.http.middlewares.middleware12.headers.addvaryheader=true"
  60. - "traefik.http.middlewares.middleware12.headers.allowedhosts=foobar, foobar"
  61. - "traefik.http.middlewares.middleware12.headers.browserxssfilter=true"
  62. - "traefik.http.middlewares.middleware12.headers.contentsecuritypolicy=foobar"
  63. - "traefik.http.middlewares.middleware12.headers.contentsecuritypolicyreportonly=foobar"
  64. - "traefik.http.middlewares.middleware12.headers.contenttypenosniff=true"
  65. - "traefik.http.middlewares.middleware12.headers.custombrowserxssvalue=foobar"
  66. - "traefik.http.middlewares.middleware12.headers.customframeoptionsvalue=foobar"
  67. - "traefik.http.middlewares.middleware12.headers.customrequestheaders.name0=foobar"
  68. - "traefik.http.middlewares.middleware12.headers.customrequestheaders.name1=foobar"
  69. - "traefik.http.middlewares.middleware12.headers.customresponseheaders.name0=foobar"
  70. - "traefik.http.middlewares.middleware12.headers.customresponseheaders.name1=foobar"
  71. - "traefik.http.middlewares.middleware12.headers.featurepolicy=foobar"
  72. - "traefik.http.middlewares.middleware12.headers.forcestsheader=true"
  73. - "traefik.http.middlewares.middleware12.headers.framedeny=true"
  74. - "traefik.http.middlewares.middleware12.headers.hostsproxyheaders=foobar, foobar"
  75. - "traefik.http.middlewares.middleware12.headers.isdevelopment=true"
  76. - "traefik.http.middlewares.middleware12.headers.permissionspolicy=foobar"
  77. - "traefik.http.middlewares.middleware12.headers.publickey=foobar"
  78. - "traefik.http.middlewares.middleware12.headers.referrerpolicy=foobar"
  79. - "traefik.http.middlewares.middleware12.headers.sslforcehost=true"
  80. - "traefik.http.middlewares.middleware12.headers.sslhost=foobar"
  81. - "traefik.http.middlewares.middleware12.headers.sslproxyheaders.name0=foobar"
  82. - "traefik.http.middlewares.middleware12.headers.sslproxyheaders.name1=foobar"
  83. - "traefik.http.middlewares.middleware12.headers.sslredirect=true"
  84. - "traefik.http.middlewares.middleware12.headers.ssltemporaryredirect=true"
  85. - "traefik.http.middlewares.middleware12.headers.stsincludesubdomains=true"
  86. - "traefik.http.middlewares.middleware12.headers.stspreload=true"
  87. - "traefik.http.middlewares.middleware12.headers.stsseconds=42"
  88. - "traefik.http.middlewares.middleware13.ipallowlist.ipstrategy=true"
  89. - "traefik.http.middlewares.middleware13.ipallowlist.ipstrategy.depth=42"
  90. - "traefik.http.middlewares.middleware13.ipallowlist.ipstrategy.excludedips=foobar, foobar"
  91. - "traefik.http.middlewares.middleware13.ipallowlist.ipstrategy.ipv6subnet=42"
  92. - "traefik.http.middlewares.middleware13.ipallowlist.rejectstatuscode=42"
  93. - "traefik.http.middlewares.middleware13.ipallowlist.sourcerange=foobar, foobar"
  94. - "traefik.http.middlewares.middleware14.ipwhitelist.ipstrategy=true"
  95. - "traefik.http.middlewares.middleware14.ipwhitelist.ipstrategy.depth=42"
  96. - "traefik.http.middlewares.middleware14.ipwhitelist.ipstrategy.excludedips=foobar, foobar"
  97. - "traefik.http.middlewares.middleware14.ipwhitelist.ipstrategy.ipv6subnet=42"
  98. - "traefik.http.middlewares.middleware14.ipwhitelist.sourcerange=foobar, foobar"
  99. - "traefik.http.middlewares.middleware15.inflightreq.amount=42"
  100. - "traefik.http.middlewares.middleware15.inflightreq.sourcecriterion.ipstrategy.depth=42"
  101. - "traefik.http.middlewares.middleware15.inflightreq.sourcecriterion.ipstrategy.excludedips=foobar, foobar"
  102. - "traefik.http.middlewares.middleware15.inflightreq.sourcecriterion.ipstrategy.ipv6subnet=42"
  103. - "traefik.http.middlewares.middleware15.inflightreq.sourcecriterion.requestheadername=foobar"
  104. - "traefik.http.middlewares.middleware15.inflightreq.sourcecriterion.requesthost=true"
  105. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.commonname=true"
  106. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.country=true"
  107. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.domaincomponent=true"
  108. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.locality=true"
  109. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.organization=true"
  110. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.province=true"
  111. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.issuer.serialnumber=true"
  112. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.notafter=true"
  113. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.notbefore=true"
  114. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.sans=true"
  115. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.serialnumber=true"
  116. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.commonname=true"
  117. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.country=true"
  118. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.domaincomponent=true"
  119. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.locality=true"
  120. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.organization=true"
  121. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.organizationalunit=true"
  122. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.province=true"
  123. - "traefik.http.middlewares.middleware16.passtlsclientcert.info.subject.serialnumber=true"
  124. - "traefik.http.middlewares.middleware16.passtlsclientcert.pem=true"
  125. - "traefik.http.middlewares.middleware17.plugin.pluginconf0.name0=foobar"
  126. - "traefik.http.middlewares.middleware17.plugin.pluginconf0.name1=foobar"
  127. - "traefik.http.middlewares.middleware17.plugin.pluginconf1.name0=foobar"
  128. - "traefik.http.middlewares.middleware17.plugin.pluginconf1.name1=foobar"
  129. - "traefik.http.middlewares.middleware18.ratelimit.average=42"
  130. - "traefik.http.middlewares.middleware18.ratelimit.burst=42"
  131. - "traefik.http.middlewares.middleware18.ratelimit.period=42s"
  132. - "traefik.http.middlewares.middleware18.ratelimit.sourcecriterion.ipstrategy.depth=42"
  133. - "traefik.http.middlewares.middleware18.ratelimit.sourcecriterion.ipstrategy.excludedips=foobar, foobar"
  134. - "traefik.http.middlewares.middleware18.ratelimit.sourcecriterion.ipstrategy.ipv6subnet=42"
  135. - "traefik.http.middlewares.middleware18.ratelimit.sourcecriterion.requestheadername=foobar"
  136. - "traefik.http.middlewares.middleware18.ratelimit.sourcecriterion.requesthost=true"
  137. - "traefik.http.middlewares.middleware19.redirectregex.permanent=true"
  138. - "traefik.http.middlewares.middleware19.redirectregex.regex=foobar"
  139. - "traefik.http.middlewares.middleware19.redirectregex.replacement=foobar"
  140. - "traefik.http.middlewares.middleware20.redirectscheme.permanent=true"
  141. - "traefik.http.middlewares.middleware20.redirectscheme.port=foobar"
  142. - "traefik.http.middlewares.middleware20.redirectscheme.scheme=foobar"
  143. - "traefik.http.middlewares.middleware21.replacepath.path=foobar"
  144. - "traefik.http.middlewares.middleware22.replacepathregex.regex=foobar"
  145. - "traefik.http.middlewares.middleware22.replacepathregex.replacement=foobar"
  146. - "traefik.http.middlewares.middleware23.retry.attempts=42"
  147. - "traefik.http.middlewares.middleware23.retry.initialinterval=42s"
  148. - "traefik.http.middlewares.middleware24.stripprefix.forceslash=true"
  149. - "traefik.http.middlewares.middleware24.stripprefix.prefixes=foobar, foobar"
  150. - "traefik.http.middlewares.middleware25.stripprefixregex.regex=foobar, foobar"
  151. - "traefik.http.routers.router0.entrypoints=foobar, foobar"
  152. - "traefik.http.routers.router0.middlewares=foobar, foobar"
  153. - "traefik.http.routers.router0.priority=42"
  154. - "traefik.http.routers.router0.rule=foobar"
  155. - "traefik.http.routers.router0.rulesyntax=foobar"
  156. - "traefik.http.routers.router0.service=foobar"
  157. - "traefik.http.routers.router0.tls=true"
  158. - "traefik.http.routers.router0.tls.certresolver=foobar"
  159. - "traefik.http.routers.router0.tls.domains[0].main=foobar"
  160. - "traefik.http.routers.router0.tls.domains[0].sans=foobar, foobar"
  161. - "traefik.http.routers.router0.tls.domains[1].main=foobar"
  162. - "traefik.http.routers.router0.tls.domains[1].sans=foobar, foobar"
  163. - "traefik.http.routers.router0.tls.options=foobar"
  164. - "traefik.http.routers.router1.entrypoints=foobar, foobar"
  165. - "traefik.http.routers.router1.middlewares=foobar, foobar"
  166. - "traefik.http.routers.router1.priority=42"
  167. - "traefik.http.routers.router1.rule=foobar"
  168. - "traefik.http.routers.router1.rulesyntax=foobar"
  169. - "traefik.http.routers.router1.service=foobar"
  170. - "traefik.http.routers.router1.tls=true"
  171. - "traefik.http.routers.router1.tls.certresolver=foobar"
  172. - "traefik.http.routers.router1.tls.domains[0].main=foobar"
  173. - "traefik.http.routers.router1.tls.domains[0].sans=foobar, foobar"
  174. - "traefik.http.routers.router1.tls.domains[1].main=foobar"
  175. - "traefik.http.routers.router1.tls.domains[1].sans=foobar, foobar"
  176. - "traefik.http.routers.router1.tls.options=foobar"
  177. - "traefik.http.services.service02.loadbalancer.healthcheck.followredirects=true"
  178. - "traefik.http.services.service02.loadbalancer.healthcheck.headers.name0=foobar"
  179. - "traefik.http.services.service02.loadbalancer.healthcheck.headers.name1=foobar"
  180. - "traefik.http.services.service02.loadbalancer.healthcheck.hostname=foobar"
  181. - "traefik.http.services.service02.loadbalancer.healthcheck.interval=42s"
  182. - "traefik.http.services.service02.loadbalancer.healthcheck.method=foobar"
  183. - "traefik.http.services.service02.loadbalancer.healthcheck.mode=foobar"
  184. - "traefik.http.services.service02.loadbalancer.healthcheck.path=foobar"
  185. - "traefik.http.services.service02.loadbalancer.healthcheck.port=42"
  186. - "traefik.http.services.service02.loadbalancer.healthcheck.scheme=foobar"
  187. - "traefik.http.services.service02.loadbalancer.healthcheck.status=42"
  188. - "traefik.http.services.service02.loadbalancer.healthcheck.timeout=42s"
  189. - "traefik.http.services.service02.loadbalancer.passhostheader=true"
  190. - "traefik.http.services.service02.loadbalancer.responseforwarding.flushinterval=42s"
  191. - "traefik.http.services.service02.loadbalancer.serverstransport=foobar"
  192. - "traefik.http.services.service02.loadbalancer.sticky=true"
  193. - "traefik.http.services.service02.loadbalancer.sticky.cookie=true"
  194. - "traefik.http.services.service02.loadbalancer.sticky.cookie.httponly=true"
  195. - "traefik.http.services.service02.loadbalancer.sticky.cookie.maxage=42"
  196. - "traefik.http.services.service02.loadbalancer.sticky.cookie.name=foobar"
  197. - "traefik.http.services.service02.loadbalancer.sticky.cookie.samesite=foobar"
  198. - "traefik.http.services.service02.loadbalancer.sticky.cookie.secure=true"
  199. - "traefik.http.services.service02.loadbalancer.server.port=foobar"
  200. - "traefik.http.services.service02.loadbalancer.server.scheme=foobar"
  201. - "traefik.http.services.service02.loadbalancer.server.weight=42"
  202. - "traefik.tcp.middlewares.tcpmiddleware01.ipallowlist.sourcerange=foobar, foobar"
  203. - "traefik.tcp.middlewares.tcpmiddleware02.ipwhitelist.sourcerange=foobar, foobar"
  204. - "traefik.tcp.middlewares.tcpmiddleware03.inflightconn.amount=42"
  205. - "traefik.tcp.routers.tcprouter0.entrypoints=foobar, foobar"
  206. - "traefik.tcp.routers.tcprouter0.middlewares=foobar, foobar"
  207. - "traefik.tcp.routers.tcprouter0.priority=42"
  208. - "traefik.tcp.routers.tcprouter0.rule=foobar"
  209. - "traefik.tcp.routers.tcprouter0.rulesyntax=foobar"
  210. - "traefik.tcp.routers.tcprouter0.service=foobar"
  211. - "traefik.tcp.routers.tcprouter0.tls=true"
  212. - "traefik.tcp.routers.tcprouter0.tls.certresolver=foobar"
  213. - "traefik.tcp.routers.tcprouter0.tls.domains[0].main=foobar"
  214. - "traefik.tcp.routers.tcprouter0.tls.domains[0].sans=foobar, foobar"
  215. - "traefik.tcp.routers.tcprouter0.tls.domains[1].main=foobar"
  216. - "traefik.tcp.routers.tcprouter0.tls.domains[1].sans=foobar, foobar"
  217. - "traefik.tcp.routers.tcprouter0.tls.options=foobar"
  218. - "traefik.tcp.routers.tcprouter0.tls.passthrough=true"
  219. - "traefik.tcp.routers.tcprouter1.entrypoints=foobar, foobar"
  220. - "traefik.tcp.routers.tcprouter1.middlewares=foobar, foobar"
  221. - "traefik.tcp.routers.tcprouter1.priority=42"
  222. - "traefik.tcp.routers.tcprouter1.rule=foobar"
  223. - "traefik.tcp.routers.tcprouter1.rulesyntax=foobar"
  224. - "traefik.tcp.routers.tcprouter1.service=foobar"
  225. - "traefik.tcp.routers.tcprouter1.tls=true"
  226. - "traefik.tcp.routers.tcprouter1.tls.certresolver=foobar"
  227. - "traefik.tcp.routers.tcprouter1.tls.domains[0].main=foobar"
  228. - "traefik.tcp.routers.tcprouter1.tls.domains[0].sans=foobar, foobar"
  229. - "traefik.tcp.routers.tcprouter1.tls.domains[1].main=foobar"
  230. - "traefik.tcp.routers.tcprouter1.tls.domains[1].sans=foobar, foobar"
  231. - "traefik.tcp.routers.tcprouter1.tls.options=foobar"
  232. - "traefik.tcp.routers.tcprouter1.tls.passthrough=true"
  233. - "traefik.tcp.services.tcpservice01.loadbalancer.proxyprotocol=true"
  234. - "traefik.tcp.services.tcpservice01.loadbalancer.proxyprotocol.version=42"
  235. - "traefik.tcp.services.tcpservice01.loadbalancer.serverstransport=foobar"
  236. - "traefik.tcp.services.tcpservice01.loadbalancer.terminationdelay=42"
  237. - "traefik.tcp.services.tcpservice01.loadbalancer.server.port=foobar"
  238. - "traefik.tcp.services.tcpservice01.loadbalancer.server.tls=true"
  239. - "traefik.tls.stores.store0.defaultgeneratedcert.domain.main=foobar"
  240. - "traefik.tls.stores.store0.defaultgeneratedcert.domain.sans=foobar, foobar"
  241. - "traefik.tls.stores.store0.defaultgeneratedcert.resolver=foobar"
  242. - "traefik.tls.stores.store1.defaultgeneratedcert.domain.main=foobar"
  243. - "traefik.tls.stores.store1.defaultgeneratedcert.domain.sans=foobar, foobar"
  244. - "traefik.tls.stores.store1.defaultgeneratedcert.resolver=foobar"
  245. - "traefik.udp.routers.udprouter0.entrypoints=foobar, foobar"
  246. - "traefik.udp.routers.udprouter0.service=foobar"
  247. - "traefik.udp.routers.udprouter1.entrypoints=foobar, foobar"
  248. - "traefik.udp.routers.udprouter1.service=foobar"
  249. - "traefik.udp.services.udpservice01.loadbalancer.server.port=foobar"