Docker - Traefik local access

Hello.
I have been playing with the docker compose files and getting some containers up and running with thanks to K.Collins Webinar that was put on earlier this year. This really has been a big help getting off the ground with what seems to be a huge learning curve for me.
The end goal here is to be able to host containers on a development pc that our engineers can access from there own machines on the local network.
We would have far too many potential containers running at the same time to just play around with the port numbers so I would like to leverage using Traefik to add an alias to each container that is running. I think this would work well as we can reference site names etc.
I have had some success with this locally on the dev pc by using labels such as "frontend1.localtest.me" as shown in the webinar and example projects. This is great locally but how can I access this from another pc on the local network?

Also am I making life difficult by running docker on windows? It would seem that docker compose is not available on windows and I seem only able to run up compose files using cmd. Is this the only way?

Any help is greatly appreciated.

We have that type of setup running compose stacks that we can spool up in the cloud for any previous client project. It's definitely worth using the reverse proxy IMO to avoid port hassle.

Regarding compose stacks, they run in Windows too. Think of docker-compose as separate software you need to install which then runs on top of docker. If you run Docker Desktop, it will support compose stacks within the app (attached screenshot is a local compose stack I built using the IU module). You can also install portainer inside docker, then use that to create/manage/run compose stacks.

Check out the Docker Compose video in IU, then the "Creating a Testing Environment" topic beneath it. Those are relatively quick to run through if you have some basic Docker familiarity and are a huge help.

Docker's doc on installing compose also has various scenarios and instructions:

1 Like