Placing the dashboard and API onto an internal docker network

Is it possible to publish the dashboard (and the API) onto the defined docker network rather than the public interface?

My aim is to put the dashboard behind a Teleport instance that sits on the docker network which is handling all the other interfaces that have been created by different applications. Traefik then publishes Teleport.