Dokku is a Platform as a Service solution that enables users to deploy and configure an application to a production environment on a separate server. It uses Docker, a Linux container system, to manage its deployments, and allows users to deploy to a remote server.

Dokku subscription active
You will receive email notifications for new publications on Dokku.
97 Results
  • Tutorial series

    DigitalOcean 1-Click Application Images

    This series links all of the DigitalOcean 1-Click Application images into a cohesive list. Articles are listed in the order that the images are shown on the create droplet screen. New articles are added as more applic...
    By Kamal Nasser, Andrew SB, Andy Rothfusz, Justin Ellingwood, Darian Wilkin, Etel Sverdlov, Ryan Quinn and Melissa Anderson DigitalOcean 1-Click Apps Marketplace Ruby on Rails Nginx MySQL Ubuntu WordPress DigitalOcean Ubuntu 16.04 Python Django Python Frameworks PostgreSQL Docker Dokku Git Ghost MEAN MongoDB Node.js Drupal Applications LAMP Stack NoSQL Logging
  • Tutorial

    How To Use the Dokku One-Click DigitalOcean Image to Run a Ruby on Rails App

    Dokku is an easy way to quickly deploy applications into a production environment. In this article, we will demonstrate how to deploy a Ruby on Rails application through the Dokku DigitalOcean one-click image.
    By Justin Ellingwood Dokku DigitalOcean DigitalOcean 1-Click Apps Marketplace Ruby
  • Tutorial

    How To Use Dokku Plugins to Access Additional Functionality

    Dokku is a deployment tool that allows you to quickly get your app off the ground in a production environment. In this guide, we will discuss how to take advantage of Dokku's plugin system in order to extend the func...
    By Justin Ellingwood Dokku
  • Question

    Can't SSH to Dokku

    I set up a Dokku droplet using 1-Click. Both during the droplet creation stage and on the Dokku setup page, I set my SSH public key, but whenever I try and SSH I get Permission denied (publickey). I've tried connectin...
    Accepted Answer: It turned out that I was using an old, dedprecated algorithm (ssh-rsa) for my SSH key. After generating an ED25519 key and replacing the old one using the Dokku ssh-keys command, it finally works.
    3 By sjm Dokku
  • Question

    Why does my Dokku Droplet still show the Dokku Icon even after setting things up?

    I have successfully setup my dokku droplet and added my SSH key etc. The application is up and running very well. I'm just curious as to why the dokku icon is still showing on the dashboard or my droplet.
    Accepted Answer: Hi there @ChellGouda, Yes, this is the normal behavior, it just indicates that the Droplet was created based on an image from the DigitalOcean Marketplace. There is no way to manually remove the icon but it should aut...
    1 By ChellGouda Dokku
  • Question

    Dokku app cannot access via domain

    I bought this domain from Namecheap and I move it to Digitalocean DNS After that I pointed the domain to my droplet (dokku droplet) Then I accessed my dokku app via domain api.coshop-nozzha.acade...
    Accepted Answer: I was accessing the app using https however the connection wasn't secure so I solved this problem by accessing the app using http as the follwing or by secure the app connection using ...
    1 By amjedomar Ubuntu 18.04 DNS Dokku Nginx
  • Question

    Refactorin `git remote add dokku`

    Hello! I'm reading tutorial on how to deploy rails app I did all steps up to the following one. which says: git remote add dok...
    Accepted Answer: I found the solution. Dokku's tutorial confusing. I found the hint here So I refactored like git remote add dokku dokku@{serveripordomain}:{d...
    1 By tenzan Dokku Ubuntu 18.04
  • Question

    Hosting more than 1 apps on Dokku server

    It seems it's possible to host more than one apps on the same Dokku server. Let"s say: app1 and app2. How URL will look like to access each of app?
    Accepted Answer: After you first create the droplet with dokku installed and you go to your droplet ip address in the browser, you should see the Dokku Setup screen. You have 2 options here: Hit the checkbox to use virtualhost naming ...
    1 By tenzan Dokku Ubuntu 18.04
  • Question

    How can I run 2 Dokku-based Droplets using the same Domain?

    I am building an application that uses a Rails API with a Vue.js front-end. I'd like to have the Rails API hosted in one Dokku droplet and accessible from, and have the Vue.js front-end hosted...
    Accepted Answer: Hey friend, This should definitely be possible. You should be able to set in your DNS for the root domain and/or the www subdomain to go to the IP of one droplet, and the API subdomain to go to the other. Jarland
    1 By kecuster Dokku Ruby on Rails Node.js
  • Question

    I can't use nodejs/expressjs to get the client IP address behind a Digital Ocean Loadbalancer when using "req.headers['x-forwarded-for'];".

    I cannot use nodejs with expressjs to get the client IP address (enabled with ssl) behind a Digital Ocean Loadbalancer when using "req.headers['x-forwarded-for'];". To manage the droplet I use "dokku" witch installs "...
    Accepted Answer: I have found the error that makes "dokku" in the configuration of nginx. You must replace proxysetheader X-Forwarded-For $remote_addr; TO proxysetheader X-Forwarded-For $httpxforwarded_for; in the following file: /ho...
    1 By smauer Load Balancing Node.js Dokku Ubuntu 16.04
  • Question

    My droplet is not connected to the internet

    I am not sure what is going on but it seems my droplet is not connected to the internet. I tried to run sudo apt-get update and here is the result: Err xenial InRelease Err http://m...
    Accepted Answer: You aren't having an issue connecting to the internet just yet. If you want to test connectivity you need to ping an IP address that you know is available and you were on the right path with pinging google however, yo...
    1 By ariefrizkyr Networking Dokku DigitalOcean Docker Ubuntu 16.04
  • Question

    Access application from outside created on dokku

    I've created a dokku droplet and deployed a node app: After deploy I cannot access the app from the outside either by using the IP:PORT or the domain:PORT Ping the IP I get a r...
    Accepted Answer: Reading this post ( I finally understood the problem. Looks like that UFW is enable by default and it only exposes certa...
    1 By ants Dokku Applications Networking Nginx Ubuntu 16.04
  • Question

    Dokku Rails app unable to interact with Block Storage [Errno::EACCES (Permission denied)]

    I have a rails app where users are able to upload an avatar image via Ruby's Paperclip gem. In terms of paperclip's configurations, I have the following set: For my model: hasattachedfile :avatar, path: "/mnt/volume-...
    Accepted Answer: After posting up a similar question on Stack Overflow, I was guided by a dokku user to this plugin which is native to Dokku and should solve all these problems. Documentation about using Persistent Storage on Dokku (h...
    3 By sergiorivasf40c7ff6ddb06ce Block Storage Ruby on Rails Dokku Ubuntu 16.04
  • Question

    How do you update a one-click Dokku droplet on Ubuntu 16.04?

    Someone asked this previously for Debian but those instructions don't seem transferrable.
    Accepted Answer: @tcd3a5f8b59c7715c2257511a8 ( The above link details how to go about upgrading to a newer release. B...
    3 By tcd3a5f8b59c7715c2257511a8 Dokku Ubuntu 16.04
  • Question

    Security Tips and Suggestion - Dokku - Node.js App

    Hello, I've recently moved from Heroku to a droplet running Dokku which runs my node.js web app. I'd like to ask what security suggestions I should follow to minimise any risk of getting hacked. As its a web app, I'm ...
    Accepted Answer: @psmod2 The first steps I normally perform are updating the packages and upgrading current packages to make sure everything that's default is up to date. sudo apt-get update \ && sudo apt-get -y upgrade Once that's...
    1 By psmod2 Dokku Node.js Security Ubuntu 16.04
  • Question

    how to put dokku data into block storage?

    By default Dokku have to directory /home/dokku and /var/lib/dokku/. How can i store it in block storage? Purpose in future if upgrade process of the host machine fail i can just unattached block storage, start new dro...
    Accepted Answer: @chengjk You can read the guide below to setup your block storage: (https://www.digitalocea...
    2 By chengjk Dokku Block Storage
  • Question

    Invalid permissions on fresh dokku host

    I just created a new dokku one app intall, and it appears something went wrong with the setup. I created the droplet, visited the IP and completed the dokku setup process. I added my droplet as a remote for my git pro...
    Accepted Answer: Reading more of the documentation, this article helped me: (
    1 By mttwrnr Git Dokku Security Deployment
  • Question

    Why am I getting a 502 Bad Gateway using Dokku after a few hours of uptime

    Deployment is smooth, everything is working then I check back on the site after a day or so and its come down with a 502 bad gateway. I have more than one (now three) small nodejs express and mongoose apps running ins...
    Accepted Answer: Hello, What I would recommend following these steps in case that you are having any problems with your nginx server and you are unsure on what the problem is: Check if nginx is running: systemctl status nginx If ngi...
    1 By rknell Dokku MEAN Ubuntu
  • Question

    How to Deploy React to Dokku Droplet

    Hi There, I am struggling to have a React Application deployed to dokku Tried to follow some tutorials but still could not make it work. Any suggestion ? Best Regards
    1 By WilliamRails Dokku React Deployment
  • Question

    Unable to deploy with dokku due to GLIBC version not found

    From following the example (http://, on step 4, deploy tag I get the following error: App container failed to start!! =====> api web ...
    0 By runescape Dokku Node.js