Run application
mvn spring-boot:runRun tests
mvn testMay sometimes throw Exception:
"Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL)".
I don't know how to fix this: I already applied the proposed solution to the application.properties file.
Build Docker image
docker build -f Dockerfile -t vanad .Run Spring boot application
docker run -tdi --name=vanad vanad mvn spring-boot:run # Run as daemon
docker logs -f vanad # See Spring application boot
docker stop vanad # Stop container
docker start vanad # Start container./create.sh http://rest-host:porte.g.
./create.sh http://node9.codenvy.io:56576./get.sh http://rest-host:port id-of-entitye.g.
./get.sh http://node9.codenvy.io:56576 123