How to deploy spring application on DO?


I’m creating a spring web app and would like to deploy it on Digital Ocean. I can see it is quite simple to deploy React through github. Is it the same case with Spring?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

In addition to what has already been mentioned, in case that you are referring to the App Platform rather than a Droplet.

What you need to do is use a Dockerfile or a Docker image to deploy your Spring boot application to the App Platform:

Basically, the following is a list of the natively-supported languages and frameworks that App Platform

As Java is not on the list, the way to go would be with a Docker file or a Docker image.



Hi @SandyNavyMantaRay,

You can check out SpringBoot + DigitalOcean Droplets post for how to deploy simple App on a DigitalOcean droplets.

Hope it helps you, - Sergio Turpín