Skip to content

Latest commit

 

History

History

job-database

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

job-database

Overview:

Project responsible for creating the database used by the ms-job-service microservice for managing jobs

Entity Relationship Diagram (DER)

Alt text

Build & Run

Create docker image

docker build -f Dockerfile -t job-database:1.0.0 .

Run application as a container

docker run -d -p 8090:8090  --env PROFILE=docker -i -t job-database:1.0.0 

Commands

Migrates a database schema to the current version

mvn clean flyway:migrate -Dflyway.configFiles=flyway-{ENVIROMNENT}.conf

Prints current status/version of a database schema

mvn clean flyway:info -Dflyway.configFiles=flyway-{ENVIROMNENT}.conf

Version

1.0.0

  • Spring-Boot 3.3.3
  • MySQL 8.0
  • Flyaway
  • Java 17