-
Tutorial series
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
I have a dockerized flask application with 2 services inside docker-compose. How can I use docker-compose to push my application inside of Dokku on Digital Ocean?
```
version: "3.9"
services:
web:
build: .
c...
1
•
•
By
srivastavaanan05
Dokku
Docker
Flask
Python
DigitalOcean 1-Click Apps Marketplace
DigitalOcean
DigitalOcean Droplets
-
Question
Hi Experts,
I have been using DOKKU droplet to deploy an really tiny application.
Now I would like to deploy another applications in another container ...
Can I do that ? Or is DOKKU droplet dedicated to run only on...
0
•
•
By
WilliamRails
Dokku
Docker