Sign inSign up

mariesto/order-service

By mariesto

Updated about 2 years ago

Demo application using spring boot and postgres

Image
0

88

mariesto/order-service repository overview

Usage

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.

How to run

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"

Tag summary

Content type

Image

Digest

sha256:a3850d673

Size

114 MB

Last updated

about 2 years ago

docker pull mariesto/order-service