http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config#/
- Start Redis:
brew services start redis
- Change directory to project directory
- Run the following command to build an image:
docker build -t demo-app:v1 .
- Run the following command to run a container:
docker run \ -p 8080:8080 \ -e redisHostName=host.docker.internal \ -e redisPort=6379 \ -e dbURL=jdbc:mysql://host.docker.internal:3306/education_management \ -e dbUserName=root \ -e dbPassword=admin \ -e dbDriver=com.mysql.cj.jdbc.Driver \ -e sqlDialect=org.hibernate.dialect.MySQL8Dialect \ --rm demo-app:v1
docker run \ - p hostPort:containerPort --rm demo-app:v1
mvn git-code-format:format-code -Dgcf.globPattern=**/*