Inside of the docker-compose.yml file for each container, I will specify the labels that are used to control the different requirements of how it will be handled by Traefik Service: the container or service that this will be routed to (Docker container or manual entry).Middleware: any changes that need to made to the request/authentication.Router: in charge of connecting incoming requests to the services.Entrypoint: the port/protocol you want the service to listen on (usually 80/443).When setting up a service to be proxied by Traefik, there are a few things to consider that can be illustrated by the below flow diagram: ![]() The main page of the dashboard will show useful information about the services and ports that it is listening on (example below listens on Port 80/443 for web and also 8888 for Metric information): The documentation for the dashboard can be found here The dashboard for Traefik is the best way to check how all of the traffic and routing is working and for troubleshooting services or access
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |