You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
2.6 KiB

  1. ################################################################
  2. # Global configuration
  3. ################################################################
  4. # Enable debug mode
  5. #
  6. # Optional
  7. # Default: false
  8. #
  9. # debug = true
  10. # Log level
  11. #
  12. # Optional
  13. # Default: "ERROR"
  14. #
  15. logLevel = "ERROR"
  16. # Entrypoints to be used by frontends that do not specify any entrypoint.
  17. # Each frontend can specify its own entrypoints.
  18. #
  19. # Optional
  20. # Default: ["http"]
  21. #
  22. defaultEntryPoints = ["http", "https"]
  23. # Entrypoints definition
  24. #
  25. # Optional
  26. # Default:
  27. [entryPoints]
  28. [entryPoints.http]
  29. address = ":80"
  30. # Traefik logs
  31. # Enabled by default and log to stdout
  32. #
  33. # Optional
  34. #
  35. # [traefikLog]
  36. # Sets the filepath for the traefik log. If not specified, stdout will be used.
  37. # Intermediate directories are created if necessary.
  38. #
  39. # Optional
  40. # Default: os.Stdout
  41. #
  42. # filePath = "log/traefik.log"
  43. # Format is either "json" or "common".
  44. #
  45. # Optional
  46. # Default: "common"
  47. #
  48. # format = "common"
  49. # Enable access logs
  50. # By default it will write to stdout and produce logs in the textual
  51. # Common Log Format (CLF), extended with additional fields.
  52. #
  53. # Optional
  54. #
  55. # [accessLog]
  56. # Sets the file path for the access log. If not specified, stdout will be used.
  57. # Intermediate directories are created if necessary.
  58. #
  59. # Optional
  60. # Default: os.Stdout
  61. #
  62. # filePath = "/path/to/log/log.txt"
  63. # Format is either "json" or "common".
  64. #
  65. # Optional
  66. # Default: "common"
  67. #
  68. # format = "common"
  69. ################################################################
  70. # Web configuration backend
  71. ################################################################
  72. # Enable web configuration backend
  73. [web]
  74. # Web administration port
  75. #
  76. # Required
  77. #
  78. address = ":8080"
  79. ################################################################
  80. # Docker configuration backend
  81. ################################################################
  82. # Enable Docker configuration backend
  83. [docker]
  84. # Docker server endpoint. Can be a tcp or a unix socket endpoint.
  85. #
  86. # Required
  87. # Default: "unix:///var/run/docker.sock"
  88. #
  89. # endpoint = "tcp://10.10.10.10:2375"
  90. # Default domain used.
  91. # Can be overridden by setting the "traefik.domain" label on a container.
  92. #
  93. # Optional
  94. # Default: ""
  95. #
  96. domain = "docker.localhost"
  97. # Expose containers by default in traefik
  98. #
  99. # Optional
  100. # Default: true
  101. #
  102. exposedbydefault = true
  103. # Enable watch docker changes.
  104. #
  105. # Optional
  106. #
  107. watch=true
  108. # Use the IP address from the binded port instead of the inner network one.
  109. # For specific use-case :)
  110. #
  111. # Optional
  112. # Default: false
  113. #
  114. # usebindportip = true
  115. ################################################################
  116. # frontends definitation
  117. ################################################################