Ever wanted to deploy a Spring app on a DigitalOcean droplet (server) so that it is accessible to all people around the globe? 🌍 Creating such cloud-solutions is not hard!

  1. Creating the App 🖥
  2. Containerizing it (Docker) 🐳
  3. Publishing code to GitHub 🥳
  4. Deploying it to server ☁️

You can find the code for this guide here: https://github.com/momtr/spring-docker-digitalocean :) The guide is beginner-friendly, but depending on your knowledge, you may skip several parts of it. So, let’s get started!

The App

Let’s start by creating the API! Therefore, we use Spring Initializr (https://start.spring.io/) for setting things up. Just click on the link…

Moritz Mitterdorfer

16, Vienna :))

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store