Description

Dokku makes it a breeze to deploy and manage web applications on your own server. Now available as a 1-Click installation, it's even easier to have your own private application platform in a matter of minutes.

Software Included

Getting started after deploying Dokku

In addition to the package installation, the One-Click also: Enables the UFW firewall to allow only SSH (port 22 , rate limited), HTTP (port 80 ), HTTPS (port 443 ), and 2375 / 2376 for unencrypted/encrypted traffic to the Docker daemon, respectively. Quickstart After creating a Dokku One-Click Droplet, you need to visit the Droplet’s IP address in a browser to finish configuring Dokku. If you don’t, the Dokku instance will be vulnerable to anyone who finds the setup page and inserts their key. When you visit the setup page, you’ll see three fields: Public Key : If you uploaded an SSH key to the Droplet when you created it, this field will be pre-populated with your public key. If not, add an SSH public key here.

Hostname : You can either enter a domain name, if you’re using one, or add the IP address of the server if you do not.

Use virtualhost naming for apps: By default, Dokku will serve apps in the format http://your_domain:app_port_number , like https://example.com:12345 . If you check this box, instead apps will be available using a virtualhost in the format http://app_name.your_domain , like http://my_app.example.com . After you fill out these fields, click Finish Setup to complete the setup.

API Creation

In addition to creating a Droplet from the Dokku 1-Click App via the control panel, you can also use the DigitalOcean API .

As an example, to create a 4GB Dokku Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.