Help to configure proxy and agent

Hi i'm not able to configure treafik to use a local docker instance of retool on my mac .
Can share a simple example?
regards Paolo

Would you explain what you mean? What is that software, is there a link? And what do you want to achieve on your local Mac?

version: "3.9"

services:
  # Start the agent with the latest version
  hub-agent:
    image: ghcr.io/traefik/hub-agent-traefik:v1.0.0
    pull_policy: always
    container_name: hub-agent
    restart: "on-failure"
    command:
      - run
      - --hub.token=xxxx
      - --auth-server.advertise-url=http://hub-agent
      - --traefik.host=traefik
      - --traefik.tls.insecure=true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    depends_on:
      - traefik

  # Start Traefik with the latest version
  traefik:
    image: traefik:v2.8
    container_name: traefik
    command:
      # Enable Hub communication (open the port 9900 and 9901 by default)
      - --experimental.hub=true
      - --api.insecure=true
      - --entrypoints.web.address=:80
      - --providers.docker

    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

    labels:
      traefik.http.routers.dash.rule: Host(`dash.localhost`)
      traefik.http.routers.dash.service: api@internal

    ports:
      - "80:80"

this is my config file:

i see always 404 page not found from remote service agent

  openblocks:
    image: "openblocksdev/openblocks-ce"
    container_name: openblocks                    
    ports:
        - "3000:3000"    
    labels:
      - traefik.enable=true
      - traefik.http.routers.openblocks.rule=Host('openblocks.localhost')