My flask app is not running on docker currently I am running it from an IDE. And it has 4 files named app.py(https://pastebin.pl/view/e9590e45), main.py(https://pastebin.pl/view/5896caaf), esp32_simulator.py(https://pastebin.pl/view/c5428a6d) and SensorData.py(https://pastebin.pl/view/440b69f4). My cassandra is running on docker on a separate network from other things. I have a kafka-stack-docker-compose(which I pulled from confluentinc/kafka-images) which has 2 containers named kafka1, zoo1 running inside a stack named kafka-stack-docker-compose. I need to somehow add my python flask application to run on docker and then I need to somehow make these 3(flask, cassandra, kafka) connect and work together so I can share this docker containers with my supervisor for him to run it on his own computer.
I tried setting up a new network and running it all on the same but I currently have too much data both on my cassandra(table's and such) and my kafka(keyspaces) so I am afraid to delete them and configure them again.