global:
  checkNewVersion: true
  sendAnonymousUsage: false
experimental:
  plugins:
    crowdsec-bouncer:
      moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin
      version: v1.4.4
entryPoints:
  web:
    address: :80
    http:
      redirections:
        entryPoint:
          to: websecure
          scheme: https
  websecure:
    address: :443
  traefik:
    address: :8080
  # >>> libreportal-monitoring >>>
  #metrics:
  #  address: :8082
  # <<< libreportal-monitoring <<<
certificatesResolvers:
   staging:
     acme:
       email: EMAILHERE
       storage: /etc/traefik/certs/acme.json
       caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
       httpChallenge:
         entryPoint: web
   production:
     acme:
       email: EMAILHERE
       storage: /etc/traefik/certs/acme.json
       caServer: "https://acme-v02.api.letsencrypt.org/directory"
       httpChallenge:
         entryPoint: web
log:
  level: DEBUGLEVEL
  filePath: log/traefik.log
  format: common
api:
  dashboard: true
  insecure: true
# >>> libreportal-monitoring >>>
#metrics:
#  prometheus:
#    entryPoint: metrics
#    addEntryPointsLabels: true
#    addRoutersLabels: true
#    addServicesLabels: true
# <<< libreportal-monitoring <<<
providers:
  docker:
    exposedByDefault: false  # Default is true
  file:
    # watch for dynamic configuration changes
    directory: /etc/traefik/
    watch: true
