Skip to content

rubenjgarcia/jwt-springboot-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT Integration with Spring Boot

Docker

Build docker image

Create the application jar

mvn clean package

Create the image

docker build -t jwt-server .

Run the container (a mongo container is mandatory)

docker run -p 8000:8000 --link mongo:mongo -d --name jwt-server jwt-server

Run Docker Compose container

Create the application jar

mvn clean package

Run the containers

docker-compose up -d

Releases

No releases published

Packages

No packages published