Skip to content

A car rental webservice based on Spring Boot written in Java

Notifications You must be signed in to change notification settings

philsch91/carrental-webservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Rental Webservice

Compile

  1. mvn clean package

Run

  1. java -jar target/carrentalwebservice-0.0.1-SNAPSHOT.jar

Build and Run Container

  1. docker build -t ps/carrental-webservice .
  2. docker run --name carrental-webservice -p 443:443 ps/carrental-webservice

Start and Stop Container

  1. docker start ps/carrental-webservice
  2. docker stop ps/carrental-webservice

Push Container

  1. docker tag ps/carrental-webservice <registry-name>/ps/carrental-webservice:latest
  2. docker login <registry-name>
  3. docker push <registry-name>/ps/carrental-webservice:latest
  4. docker logout <registry-name>

Create Certificate

keytool -genkeypair -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore se-carrental.p12 -validity 730

About

A car rental webservice based on Spring Boot written in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published