Relative Content

Tag Archive for javaspring-bootdockerdocker-compose

Docker compose is not creating creating tables in Database

I am learing Docker and encountered an error is that I have created a basic CRUD springboot application which create,getById and getAll Users then configure the Dockerfile and then docker-compose.yml. once I run docker-compose up, its starts creating images and containers and I can see that they are running perfectly ( the status is running ) but they are not creating user tables in MySQL or in simple it is not running the Springboot application just running dockerfile and docker-compose.yml..

Docker compose is creating creating tables in Database

I am learing Docker and encountered an error is that I have created a basic CRUD springboot application which create,getById and getAll Users then configure the Dockerfile and then docker-compose.yml. once I run docker-compose up, its starts creating images and containers and I can see that they are running perfectly ( the status is running ) but they are not creating user tables in MySQL or in simple it is not running the Springboot application just running dockerfile and docker-compose.yml..