GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bezkoder/docker-compose-spring-boot-postgres: Docker Compose Spring Boot and Postgres example - Dockerize and connect Spring Boot to PostgreSQL

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
bezkoder-app
bezkoder-app
 
 
.env
.env
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

Docker Compose Spring Boot and Postgres example

Run the System

We can easily run the whole with only a single command:

docker compose up

Docker will pull the PostgreSQL and Spring Boot images (if our machine does not have it before).

The services can be run on the background with command:

docker compose up -d

Stop the System

Stopping all the running containers is also simple with a single command:

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

For more detail, please visit:

Docker Compose Spring Boot and Postgres

Related Posts:

Spring Boot + PostgreSQL: CRUD Rest API example

Spring Boot R2DBC + PostgreSQL example

Spring Boot Validate Request Body

Spring Boot and Swagger 3 example

Spring Boot Redis Cache example

Spring Boot File upload example

Exception handling: @RestControllerAdvice example in Spring Boot

Spring Boot Repository Unit Test with @DataJpaTest

Spring Boot Rest Controller Unit Test with @WebMvcTest

Security:

Secure Spring Boot App with Spring Security & JWT Authentication (PostgreSQL)

About

Docker Compose Spring Boot and Postgres example - Dockerize and connect Spring Boot to PostgreSQL

www.bezkoder.com/docker-compose-spring-boot-postgres/

Topics

dockerdocker-composedocker-imagedockerfiledockerizationdockerizedockerizedpostgrespostgresqlpostgresql-databasespringspring-bootspringboot

Resources

Readme
Activity

Stars

22 stars

Watchers

2 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.