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

485 questions
59
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,324
  • 1
  • 9
  • 20
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
21
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
  • 14,121
  • 4
  • 29
  • 30
16
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,595
  • 3
  • 14
  • 25
15
votes
2 answers

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
  • 681
  • 10
  • 19
13
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,657
  • 8
  • 30
  • 54
10
votes
6 answers

See git commit hash of running Dokku app?

I am running a Dokku app in production and need to know what version of the app is running on the server. Is this possible with Dokku?
Rick
  • 8,366
  • 8
  • 47
  • 76
9
votes
1 answer

How do I set nginx configuration settings on a per app basis in Dokku?

I need to increase the client_max_body_size setting for a single app I have installed on a Dokku Paas. I could edit the nginx configuration globally, but that would be brittle, and I would like this setting to live with the app config where…
flightlessbird
  • 413
  • 3
  • 9
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
  • 102,010
  • 123
  • 446
  • 597
8
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
  • 307
  • 2
  • 13
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,488
  • 9
  • 49
  • 84
8
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…
corepress
  • 1,085
  • 1
  • 9
  • 13
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
  • 15,435
  • 4
  • 39
  • 69
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
  • 972
  • 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
1
2 3
32 33