Problem "file directory" Traefik 2.5.4 docker

Hi,

Traefik is not able to update from a file directory

Where is the problem?

docker-compose

version: "3.3"

services:

# TRAEFIK -----------------------------------------------------------------------------------------

  Traefik:
    container_name: "Traefik"
    hostname: "Traefik"
    image: "traefik:latest"
    restart: "always"
    security_opt:
      - "no-new-privileges:true"
    networks:
      - "Traefik"
    ports:    
      - "80:80"
      - "443:443"
      - "8080:8080"                     
    command:
#      - "--log.level=DEBUG"

      - "--accesslog.filepath=/etc/traefik/access.log"
      - "--accesslog.bufferingsize=100"
      - "--api.insecure=true"
      - "--api.dashboard=true"
#      - "--api.debug=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--providers.docker.network=Traefik"
      - "--providers.file.directory=/etc/traefik/dynamic/"
      - "--providers.file.watch=true"
      - "--entrypoints.http.address=:80"
      - "--entrypoints.https.address=:443"
#      - "--entryPoints.https.proxyProtocol.trustedIPs=172.64.0.0/13,162.158.0.0/15,192.168.5.0/24,172.0.0.0/8"
      - "--entryPoints.https.forwardedHeaders.trustedIPs=172.64.0.0/13,162.158.0.0/15,192.168.5.0/24,172.0.0.0/8"
      - "--entrypoints.http.http.redirections.entryPoint.to=https"
      - "--entrypoints.http.http.redirections.entryPoint.scheme=https"      
    environment:    
      - "TZ=Asia/Baghdad"      
    volumes:    
      - "/var/run/docker.sock:/var/run/docker.sock:ro"
      - "/srv/dev-disk-by-uuid-662dfc79-3d1b-485c-add1-49c7aa5f90a6/AppData/MyContainer/Traefik/config:/etc/traefik/"
    labels:    
      - "traefik.enable=true"
      - "traefik.http.routers.traefik.service=api@internal"
      - "traefik.http.routers.traefik.rule=Host(`XXX.XXX.XXX`)"
      - "traefik.http.middlewares.traefik-auth.basicauth.users=XXXXXXXXXXXXXXXXXXXX."
      - "traefik.http.routers.traefik.middlewares=traefik-auth"
      - "traefik.http.routers.traefik.entrypoints=https"
      - "traefik.http.routers.traefik.tls=true"
      - "traefik.http.services.traefik.loadbalancer.server.port=8080"

      
#------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------


# NETWORKS ---------------------------------------------------------------------------------------- 
    
    
networks:
 
  Traefik:
    name: "Traefik"
    driver: "bridge"
    ipam:
      driver: "default"
      config:
        - subnet: "172.20.0.0/16"
          gateway: "172.20.0.1"


certificates.yaml

tls:
  certificates:
    - certFile: /etc/traefik/certificates/XXXXX.cert
      keyFile: /etc/traefik/certificates/XXXXX.key

server.yaml


http:
 
 

# ROUTERS ---------------------------------------

  routers:

    home-assistant:
      rule: "Host(`XXX.XXXX.XX`)"
      service: home-assistant
      tls: {}
      entryPoints:
        - "https"
  

SERVICES --------------------------------------

  services:

    home-assistant:
      loadBalancer:
        servers:
          - url: "http://192.168.5.21:80"