To configure targets manually, you need to use a dynamic config file with routers and services, load it in static config via providers.file.
A bit similar to this simple Traefik external forward example for Docker Swarm, so less the deploy section and without the middleware.