collabnix / awesome-testcontainers

A Curated List of Testcontainers Resources
https://testcontainers.com
39 stars 10 forks source link

Add testcontainers-port-updater #47

Open ajeetraina opened 2 hours ago

ajeetraina commented 2 hours ago

You are using Testcontainers and want to have your Testcontainers database accessible directly within IntelliJ? You are tired of changing the port configuration all the time since Testcontainers chooses a random port on each startup? This plugin solves your issue.

https://github.com/yusufugurozbek/testcontainers-port-updater

ajeetraina commented 2 hours ago

Quick Note: While it’s strongly discouraged to use a fixed port for tests, using a fixed port for local development can be convenient. It allows you to connect to services using a consistent port, for instance, when using database inspection tools. With Testcontainers Desktop, you can easily connect to those services on a fixed port.