In this recipe, we will use the Docker-based tool, Dokku, to manage our Play 2 web application deployment. Dokku provides a very straightforward deployment interface, quite similar to Heroku's deployment interface and allows developers to quickly deploy Play 2 web apps.
We will have Dokku running and will deploy our Play 2 web application in a Digital Ocean Droplet. We will need a Droplet with at least 2GB of RAM to run our sample webapp. Ensure that you sign up for a Digital Ocean account to follow this recipe:
https://cloud.digitalocean.com/registrations/new
Prepare your deployment droplet by creating a new 2GB RAM Droplet with Dokku v0.3.15 on 14.04 or higher application option pre-installed:
Once droplet creation is completed, you can verify the Droplet settings on the dashboard, ensuring that it is configured with 2GB of RAM and making note of the assigned IP address for the droplet: