# Api and, additionally, a monitoring dashboard (checkout docs for more, # disable in production if not required!). api: dashboard: true insecure: true # Entrypoints (ports) Traefik should listen to; here we define two: "http" # for unencrypted traffic, and "https" for SSL-encrypted traffic (port 443). entryPoints: http: address: ":80" https: address: ":443" # We define two providers providers: # First, a docker provider, which allows us to enable routing to any Docker # container by setting some specific labels on the container. Example will # follow below ;). docker: endpoint: "unix:///var/run/docker.sock" # This ensures, that we manually have to request containers to be "added" # to Traefik. exposedByDefault: false # Second, a dynamic configuration file - we'll come back to that file below. file: filename: "/dynamic_conf.yml" # For automatic Let's Encrypt certificate generation, we define a "letsencrypt" # resolver. It may store the certificates in the defined file/storage and should # use the http endpoint (defined above) for the http challenge (i.e., for # generating/ requesting the certificates). certificatesResolvers: letsencrypt: acme: email: xxx@xxx.de storage: "/letsencrypt/acme.json" httpChallenge: entryPoint: http