Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/claudioaltamura/spring-boot-flyway-h2

Spring Boot example with Flyway, H2 and Docker
https://github.com/claudioaltamura/spring-boot-flyway-h2

docker flyway github-actions h2 java maven

Last synced: 7 days ago
JSON representation

Spring Boot example with Flyway, H2 and Docker

Awesome Lists containing this project

README

        

![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/claudioaltamura/spring-boot-flyway-h2/maven-build.yaml?branch=main)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# spring-boot-flyway-h2
Demo project for Spring Boot with H2, Flyway and Docker

## Build

mvn clean package

docker build -t messages:v1.0 .

## Run

docker run -d -it -p 8080:8080 messages:v1.0

## Stop

docker ps

docker stop

## Test

curl http://localhost:8080/messages