Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleDockerfile
FROM traefik:camembert-alpine

COPY traefik.toml /etc/traefik/traefik.toml   #참조: http://wiki.thesanse.com/pages/viewpage.action?pageId=7340484
ENTRYPOINT ["traefik"]       #참조: http://wiki.thesanse.com/pages/viewpage.action?pageId=7340487


Code Block
titletraefik.toml
logLevel = "INFO"

[web]
address = ":8080"

[entryPoints]
  [entryPoints.http]
    address = ":80"

[file]
  [backends]
    [backends.backend1]
      [backends.backend1.loadbalancer]
        method = "wrr"
        sticky = true
      [backends.backend1.servers.server1]
        url = "http://front-end:8079"

  [frontends]
    [frontends.frontend1]
      backend = "backend1"
      entrypoints = ["http"]

...