Skip to content

harshadt21/testcontainersdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run MySQL database in docker container

docker run --name test -e MYSQL_ROOT_PASSWORD=root -e MYSQL_ROOT_HOST='%' -p 3321:3306 -d mysql/mysql-server:8.0.20

Connect to db and create new schema

create schema testcontainerdemo;

Command to Start application

./gradlew bootRun

Swagger UI:

http://localhost:8000/swagger-ui.html

Command to run tests

./gradlew test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages