docker posts

Local development using test domains

Use .test for all your local projects

tech 2 minute read

Most web developers work with their projects locally set up on their laptop to easily test things without having to push changes to a server. I prefer to use docker-compose and the “.test” top level domain so each projects ends up at: “www.project.test” Problem When using Docker for local development with multiple projects, you quickly end up with of having to separate your projects only by port numbers. Each project takes up one or more ports on your local machine.