Over the years Windows was not the good candidate to work with Docker. But since the release of Docker for Windows, you can work with Docker containers on Windows much easier. However, it's not always...
One of the easy solutions is to create a side container that will start after the broker and create the relevant topics. You can express the dependencies with depends_on and healthcheck operations: ...
It's simple. You should use the service_completed_successfully condition, as in the snippet below: version: '3.1' services: data_generator: image: waitingforcode/data-generator-blogging-platf...