Skip to content

Docker Compose with Postgres and Spring Boot with Rest, lombok, mapstruct, ExceptionHandler, mapper,

License

Notifications You must be signed in to change notification settings

josemmarneca/docker-compose-spring-boot-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Spring Boot and Postgres example

Start the system using the script

Run the script start start.sh or Compile with maven and run docker with build image

Run script start

Edit the file to compile with maven and them run

sh start.sh

Start the system using the command line

Compile with maven

mvn clean install -f app/pom.xml

Run docker with build image (--build) in background (-d)

docker-compose up --build -d`

Run the System

docker-compose up

The services can be run on the background with command:

docker-compose up -d

Stop the system using the script

Run the script stop stop.sh

Run script stop

sh stop.sh

Start the system using the command line

stop all running containers

docker-compose down

If you need to stop and remove all containers, networks, and all images used by any service in docker-compose.yml file, use the command:

docker-compose down --rmi all

About

Docker Compose with Postgres and Spring Boot with Rest, lombok, mapstruct, ExceptionHandler, mapper,

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published