git clone https://github.com/abhirockzz/javaee8-jsonb-jpa.gitmvn clean install- this will producejavaee8-jsonb-jpa.warintargetdirectorydocker build -t <image_name> .- this will create a Docker imagedocker run --rm -it -e ADMIN_PASSWORD=<gf_admin_password_of_your_choice> -p 8080:8080 -p 4848:4848 -p 8181:8181 <image_name>- what's the Docker host IP ?
docker-machine ip(e.g. 192.168.99.100)
- Fetch all employees
http://<HOST_IP>:8080/javaee8-jsonb-jpa/. You will get a JSON payload with all employees - Fetch an employee -
http://<HOST_IP>:8080/javaee8-jsonb-jpa/[email protected]. You will see a JSON payload in as a response