Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianogoes/springboot-docker-postgresql
https://github.com/fabianogoes/springboot-docker-postgresql
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabianogoes/springboot-docker-postgresql
- Owner: fabianogoes
- Created: 2018-09-19T04:26:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T04:28:34.000Z (over 6 years ago)
- Last Synced: 2024-10-17T01:59:15.815Z (2 months ago)
- Language: Java
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot Rest Application, PostgreSQL, Deploy Docker
### Build and running
```
mvn clean package dockerfile:build -DskipTestsdocker 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
```