Dokku

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.
83 Results
  • Question

    Dokku app cannot access via domain

    I bought this domain coshop-nozzha.academy 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 http://api.coshop-nozzha.academy or by secure the app connection using ...
    1 By amjedomar Ubuntu 18.04 DNS Dokku Nginx
  • Question

    Refactorin `git remote add dokku dokku@dokku.me:ruby-rails-sample`

    Hello! I'm reading tutorial on how to deploy rails app http://dokku.viewdocs.io/dokku~v0.12.13/deployment/application-deployment/#create-the-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 https://medium.com/nyc-planning-digital/deploying-with-dokku-f00339d1a37f 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 http://api.mydomain.com, 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 http://mirrors.digitalocean.com 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: git@github.com:heroku/node-js-sample.git 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 (https://www.digitalocean.com/community/questions/security-tips-and-suggestion-dokku-node-js-app) 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 http://dokku.viewdocs.io/dokku/getting-started/upgrading/ (http://dokku.viewdocs.io/dokku/getting-started/upgrading/) 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.digitalocean.com/community/tutorials/how-to-use-block-storage-on-digitalocean#preparing-volumes-for-use-in-linux (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: http://dokku.viewdocs.io/dokku/deployment/user-management/#adding-deploy-users (http://dokku.viewdocs.io/dokku/deployment/user-management/#adding-deploy-users...
    1 By mttwrnr Git Dokku Security Deployment
  • Question

    Issue with Ports deploying to Dokku Droplet

    Hi There I am a really novice using dokku and follow this tutorial : https://auth0.com/blog/hosting-applications-using-digitalocean-and-dokku/ But even the basic steps did not work to reach my simple HELLO WORLD appli...
    0 By WilliamRails Node.js Dokku Firewall
  • Question

    App is not deployed after “git push dokku master”.

    I'm trying to deploy an app with Dokku on Digital Ocean. I made some changes locally and push to GitHub succesfully. I see changes on GitHub. After that, I'm trying deploy app with "git push dokku master" and everythi...
    2 By mervecse Dokku
  • Question

    Issue with Dokku and DigitalOcean domain names and subdomains

    Hey, so I'm having an issue using Dokku and DigitalOcean. I changed all the DNS and successfully deployed my app to a subdomain, but for some reason the domain name doesn't work and when i go to my VPS IP it shows the...
    1 By Nezia Dokku DNS
  • Question

    By mistake execute the rm command in /

    When I mistakenly execute the command rm in / I delete some things and now I cannot enter the console, I get an error (error file '/boot/grub/i386-pc/boot.mod' not found) try to fix it with tutorials but none worked a...
    2 By zamorabryan Ubuntu Ruby on Rails Dokku MySQL Linux Commands
  • Question

    I have an access problem

    Hello, Hello, I hosted my application on your servers, while I have an access problem while trying to use resources. I have the following error message : Failed to load resource: the server responded with a status of...
    1 By meh2 Dokku
  • Question

    linking OpenGL Libraries

    I've got a dokku droplet that uses OpenGL (via python's PyOpenGL / pyqt5 & vispy) to create an image. Normally, OpenGL requires a GPU, but I think I've successfully compiled the library using mesa for CPU usage. The ...
    1 By Elle Applications DigitalOcean Dokku Python Ubuntu 18.04
  • Question

    Installing wordpress website on a dokku instance having a working node app (mobile app backend)

    I have created a dokku instance using DO one-touch setup and installed a node app which is functioning as a mobile app backend. I would like to install WordPress on the same instance with a different domain name. can...
    1 By chanhope Dokku WordPress Node.js Ubuntu 18.04
  • Question

    What is the proper way to sync assets with Digital Ocean Space when precompiling assets?

    I deployed RoR application using Dokku On Digital Ocean droplet. I'm going to try DO Space CDN. I'd like assets to be synchronised to S3 bucket after run bundle exec rake assets:precompile but I can't find any info ab...
    1 By slavadc5f09a0f97c6e8e69b16 Dokku Ruby on Rails Ubuntu 18.04