Simple Spring Web application that connects to a PostgreSql database running in a Docker container
First create, setup and run the Docker container with the database and then start the application.
- docker pull postgres
- docker run -d --name dev-postgres -v ${HOME}/postgres-data/:/var/lib/postgresql/data -p 5432:5432 postgres
- java -jar jpa-integration-0.0.1