Getting started with Spring Boot on Qovery

How to quickly deploy a Spring Boot app on Qovery

This tutorial will have you deploying a Spring Boot app in minutes.

Spring Boot is an open-source micro framework maintained by a company called Pivotal. It provides JVM developers with a platform to get started with an auto configurable production-grade Spring application. With it, developers can get started quickly without losing time on preparing and configuring their Spring application.

Source Code

In the tutorial, we will use a sample application ready to be deployed on Qovery. To get the application source code, please fork this repository.

App Setup

In Qovery Console, choose or create your project and environment. Then, add a new application:

Spring Boot

In Git Repository, pick the forked application source code repository.

In the Port section type 8080.

That's it, create!

Env Vars

The last step is to add a PORT environment variable. To do so, navigate to your application and add a new PORT variable with value 8080:

Spring Boot

Deploy

It's all ready. In your application's screen click on Actions and Deploy your application.

Spring Boot

Logs

To see the progress of your deployment and the output of your application, click on Show Logs button. You can navigate between build/deployment logs as well as your application runtime logs.

Spring Boot

Push Changes

Now, anytime you push new changes to your repository, Qovery will automatically update your application with the latest code!