To get started with Ledokku you will have to set up your own server. If you already have experience with installing and running dokku, please skip the part below proceed directly to installation guide.
If you want to try out Ledokku and need guidance on how to set up your own server and install dokku on it, please follow these steps.
- Set up Digital Ocean account
- Create Docker Droplet
- SSH into Digital Ocean Droplet
- Install dokku on your Droplet
- Proceed to next page for further instructions
Set up Digital Ocean account and get $100 credit
First you will need to open a Digital Ocean account and we recommend you do it with this link as it will it bring you $100 free credit to play around for the first 60 days. More than enough to try out Ledokku.
Create Docker Droplet
In Digital Ocean server's are referred as droplets and in our case we will be creating Docker Droplet to host our dokku apps on.
- Expand the Discover section on left side menu
- Click Marketplace
- Search for Docker
- Click Create Docker droplet
- Select Starter Plan It shows $5/month, but to play around with Ledokku for a day or couple of days will most likely cost you under $0.50 and you will be charged just that and no more. After that scroll down for SSH setup.
- Choose existing SSH key If you already had previously set up SSH on Digital Ocean then choose one of your existing SSH keys. As you can see in screenshot, existing SSH key called Ledokku is selected. If you click New SSH key, see step 7.
- Set up new SSH key See the instructions in the input field. That should be enough for you to get through this setup.
- Click green CREATE A DROPLET button.
SSH into Digital Ocean Droplet
Open terminal of your choice
Run this command
Before running the command, don't forget to change YOUR_DOCKER_DROPLET_IP part to the ip address you can see as your Droplet IP in your Digital Ocean's dashboard.
After running this command you will be asked whether you are sure that you want to connect to this server and to this prompt you should type
In your terminal you will see that you are inside the docker droplet
Your terminal path will look something similar to this
Install dokku on your Droplet
From your Docker Droplet run these commands :
- In order to be able to access our dokku server, we update the server Firewall Rules to allow all incoming HTTP and HTTPS requests.
- Open http://YOUR_DOCKER_DROPLET_IP in browser You will see dokku webUI with SSH key already there
You will need to set up the domain name and put tickbox in
Use virtual host naming for apps
If set up is successful, you will be redirected to dokku home page.