- Spring 3.1.0
- Native Image with Build packs
- Add CORS configuration
- Fully functional gateway for trading journal entry
- Fully functional gateway for trading journal authentication
Set the active profile as local:
-Dspring.active.profiles=local
mvn spring-boot:build-image -Pnative
Tag your image to latest: docker tag allanweber/trading-journal-gateway:<VERSION> allanweber/trading-journal-gateway:latest
Push image to registry: docker push allanweber/trading-journal-gateway:latest
- Get postgres container ip:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' CONTAINER_ID
docker run -p 8888:8888 --name trading-journal-gateway allanweber/trading-journal-gateway:<VERSION>