Demo application using spring boot and postgres
88
This is a demo application which will be used for https://www.manurat.dev/series/kubernetes-series
Built using Java (JDK 21) and Spring Boot (3.3.2) and internally using Postgres DB.
You need run a docker image for postgres, which can be done with :
docker run -d \
--name db \
-e POSTGRES_USER=user \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_DB=mydb \
-p 5432:5432 \
postgres:13
or by having a docker-container.yaml
services:
order-db:
image: postgres
environment:
POSTGRES_DB: order-db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: pwd123
ports:
- "5432:5432"
Content type
Image
Digest
sha256:a3850d673…
Size
114 MB
Last updated
about 2 years ago
docker pull mariesto/order-service