Manage multiple sites with Docker Compose and Traefik
In this 9 minute video, I ll show you how I use Traefik Proxy in my local Docker environment to route web traffic to app services running in separate containers, on different ports. This is a basic example of a reverse proxy and uses a readymade image from the Docker Hub You ll learn: What a good use case for a reverse proxy is How to add a Traefik container to your Docker Compose setup To route traffic from the browser to a specific Docker container 0:00 The setup 1:14 Adding Traefik 4:08 Routing with host names 6:03 Using PathPrefix 7:54 That s all Follow me on Twitter Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms:
|
|