Traefik error: read /traefik.yml: is a directory

version: '3'

services:
  traefik:
    image: traefik:v2.10
    container_name: traefik
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /root/traefik/traefik-data/traefik.yml:/traefik.yml:ro
      - /root/traefik/traefik-data/acme.json:/acme.json
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.traefik.rule=Host(`example.com`)"
      - "traefik.http.routers.traefik.entrypoints=websecure"
      - "traefik.http.routers.traefik.service=api@internal"
      - "traefik.http.routers.traefik.tls.certresolver=myresolver"

networks:
  default:
    external: true
    name: web

here my compose file.

Also i check this:
image

but i steal get error!!!!!!
Im som angry, its second try when i wanna use traefik like proxy and same error.

Try cat /root/traefik/traefik-data/traefik.yml on node/host and cat /traefik.yml inside container.