Can't deploy Spring Boot application

I am currently evaluating CloudControl as a platform provider for my Java based applications.

I have created a very simple Spring Boot application ( https://github.com/mhmpl/gradle-example-app ) with Gradle, but I cannot deploy the application.

There Error

are no errors in the log that could give me some information. However, this is the log output Deploy

:

8/3/14 12:53 PM lxc-1272 INFO Container did not come up within 120 seconds.
8/3/14 12:53 PM lxc-1250 INFO Waiting for the container to be reachable...
8/3/14 12:53 PM lxc-1272 INFO Waiting for the container to be reachable...
8/3/14 12:52 PM lxc-1250 INFO Waiting for the container to be reachable...
8/3/14 12:52 PM lxc-1272 INFO Waiting for the container to be reachable...
8/3/14 12:52 PM lxc-1250 INFO Waiting for the container to be reachable...
8/3/14 12:52 PM lxc-1272 INFO Waiting for the container to be reachable...
8/3/14 12:51 PM lxc-1250 INFO Deploying ...

      

Finally, the application is not deployed and I do not see the error that I potentially made. I already tried to set the memory to 1024MB and added a second container, but that didn't change anything.

+3


source to share


1 answer


You need to bind your web server to the correct port, which is defined in the PORT environment variable.



+1


source







All Articles