You can use any Docker Registry that you want, either Docker Hub, any private Docker Registry, or GCR. If you want more information about how to deploy from any of these registries, check this link.
docker login
in your shell/terminal.docker-release.sh
Dockerfile
is implemented using MultiStage build:FROM maven:alpine
. The single responsibility of this stage is to install dependencies (caching layers) and generate the jar.FROM openjdk:alpine
and works executing the jar generated by build stage. It will EXPOSE
the external ports to the host.example-manifest.yml
to your project and rename it to manifest.yml
. Open the manifest file and edit the three configurable variables:.cfapps.io
manifest.yml
, push your project:This command by default checks whether amanifest.yml
exists in the directory, and if so, uses it to push to the platform.
xoom-examples
for a working configuration. This demonstrates how to integrate two or more services that are deployed to the Pivotal Cloud Foundry platform. View the xoom-http-frontservice
and xoom-http-backservice
as microservices, and the DEPLOY.md
for further instructions.