Questions tagged [dokku]

Docker powered mini-Heroku in around 100 lines of Bash

Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen. More information and sources on https://github.com/progrium/dokku

439 questions
56
votes
5 answers

What is the proper command to restart a Dokku app from SSH?

A Rails app I deployed on DigitalOcean using Dokku crashed and started returning 500 errors. How can I restart it without pushing an empty commit?
Spone
  • 1,277
  • 1
  • 9
  • 19
23
votes
5 answers

Dokku - Add domain after setup

I installed Dokku on my Digital Ocean droplet, but did it before setting my dns records, so Dokku was installed on IP. Now I changed my dns record, so site can be accessed through site.com. I can access my previously created Dokku containers through…
user3215609
  • 535
  • 2
  • 8
  • 19
19
votes
1 answer

Docker blocking outgoing connections on high load?

We have a node.js web server that makes some outgoing http requests to an external API. It's running in docker using dokku. After some time of load (30req/s) these outgoing requests aren't getting responses anymore. Here's a graph I made while…
jomo
  • 11,665
  • 4
  • 25
  • 28
13
votes
1 answer

Accessing Postgres database inside Dokku container from outside

I'm having a hard time finding a way to access Postgres database inside Dokku's contaner (based on docker) from outside of the machine using pgAdmin. Is there a way to do that? Do I need to use a different client? I'm exposing database using dokku…
Chris Kraszewski
  • 631
  • 9
  • 19
13
votes
4 answers

Dokku view logs? (hosted on digitalocean)

So I just started using dokku (with postegres). My app works on Heroku so I'm pretty sure it's a deployment issue. The app seems to be running but is however hitting issues at log in. I did dokku logs my_app_name however the logs seems to be old. On…
yifanwu
  • 1,403
  • 2
  • 13
  • 20
9
votes
2 answers

Docker container disappears without notice

I host my webapplication is a docker container using Dokku. Sometimes (maybe every 1-2 days) the docker container just disappears (doesnt show when docker ps) and as a result, my server goes down. I haven't been able to find the cause. I am looking…
Tarlen
  • 3,327
  • 6
  • 25
  • 50
8
votes
1 answer

Dokku redirects to another domain when requested site is down

I have Dokku installed on a server, with multiple sites/domains deployed to it. When one of my sites goes down, all HTTP requests to it get redirected (for some reason) to another site. This is confusing. I'm expecting Dokku to show some error page…
yegor256
  • 93,933
  • 106
  • 409
  • 558
8
votes
1 answer

Deployment with only SSH Key and dockerfile

Excuse my dev ops naiveté but I assume all you need to deploy to a machine is a proper SSH key, a port to expose, the machine's IP address a login and the code to deploy. So are there any simple solutions that deploy code to a remote server with…
GTDev
  • 5,258
  • 8
  • 45
  • 80
8
votes
2 answers

Cron jobs using Whenever with VM, Docker & Dokku

I have a Ruby on Rails app in a Docker container on Ubuntu 14.04. I set up my deployments using Dokku but I'm unsure how to get my cron jobs working correctly. Currently I'm using the whenever gem which allows me to do something simple like: every…
Anthony
  • 14,060
  • 3
  • 32
  • 61
8
votes
2 answers

Dokku: Listen to multiple ports from an app

I'm deploying a node app (with express js) with dokku. My app consists of 2 express js apps that listen to two different ports. One being the main app and the other is web inteface for kue - A simple job queue for node js. When I deploy the app I…
Jithesh
  • 934
  • 4
  • 10
8
votes
6 answers

Dokku asking for password when trying to git push

I have created a droplet on digital ocean with an image of ubuntu and dokku. I have followed this tutorial to deploy my app, I have also done the configuration to add my ssh key to dokku. Now when I try to "git push [name] master" I get asked for…
user3570188
  • 81
  • 1
  • 3
7
votes
1 answer

How to point a Dokku app at the root domain of the dokku server

How do I point a dokku app that will set up in the dokku server, to point at the root domain of the server itself. Suppose my domain is apps.com and the app to be implemented is called botapp. If I use virtualhost naming, and do git remote add dokku…
kaycee49
  • 1,005
  • 1
  • 9
  • 12
7
votes
3 answers

How to correctly install dokku - with or without sudo?

I'm learning dokku right now for simple web deployment. Offical install instructions state this command: wget -qO- https://raw.github.com/progrium/dokku/v0.3.12/bootstrap.sh | sudo DOKKU_TAG=v0.3.12 bash I'm not a devop or admin, but as far as I…
grigoryvp
  • 33,993
  • 56
  • 155
  • 263
6
votes
1 answer

Dokku/Docker out of disk space - How to enter app

So my question is I have an errant rails app deployed using Dokku with the default Digital Ocean setup. This rails app has eaten all of the disk space as I did not set up anything to clean out the /tmp directory. So the output of df is: Filesystem …
Romuloux
  • 689
  • 1
  • 6
  • 21
6
votes
2 answers

rails + dokku bundle fails when trying to deploy for the first time

I'm trying to deploy my rails app with Dokku. I added git remote to my repository and it starts deploying when I push remote, but it stops with this message: Killed. Failed to install gems via Bundler. ! [remote rejected] master -> master…
figdig
  • 287
  • 2
  • 13
1
2 3
29 30