Testcontainers Desktop lets you configure development services to make them easy to debug, for example by setting a fixed port to connect your devtools. The app now ships with 15+ preconfigured configuration files, including postgres, kafka, and many others. Simply rename a file from
.example to a
.toml extension to get started with the corresponding technology.
The example files also contain instructions to go beyond the default configuration. For example, you might be running 2 separate services based on the same image, or you might want to target the leader and replicas separately. If so, follow the instructions to fine-tune how the service selects containers based on labels, which open source Testcontainers libraries let you add easily from your code.