Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fabianogoes/springboot-docker-postgresql


https://github.com/fabianogoes/springboot-docker-postgresql

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Spring Boot Rest Application, PostgreSQL, Deploy Docker

### Build and running

```
mvn clean package dockerfile:build -DskipTests

docker run -it --name docker-postgres -e POSTGRES_DB=docker -e POSTGRES_USER=docker -e POSTGRES_PASSWORD=docker postgres:10.4

docker run -it --link docker-postgres -p 8080:8080 emmanuelneri/spring-boot-docker-app
```

### Build and running with compose

```
mvn clean package dockerfile:build -DskipTests
docker-compose up
```