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
5
votes
1 answer

How to change Default App in Dokku for Domain Host Name

As a personal project I've deployed the Dokku Image on Digital Ocean and got everything working well. In fact it works very well as I've done it before, but I have a question on how I can change what "default" app the Domain Host Name points…
newbreedofgeek
  • 3,106
  • 1
  • 19
  • 17
5
votes
1 answer

Dokku domains:add returns unsupported vhost config found. disabling vhost support

This is my first site I've were I've tried to use Dokku to deploy a rails app on Digital Ocean. This is a default Dokku install on a basic Ubuntu VM hosted on Digital Ocean When I try to run: dokku domains:add myapp mydomain.com I get the following…
greyoxide
  • 1,197
  • 1
  • 17
  • 45
5
votes
0 answers

setting up laravel 5 artisan schedule:run on dokku (digitalocean)

I'm having trouble setting up a cronjob for laravel 5 scheduler. It seems like the dokku run command doesn't perform all commands inside the dokku container. for example ... if I log into my server and I perform dokku run php…
Locsie
  • 51
  • 2
5
votes
1 answer

dokku - Run Rails 4 app from Subfolder

My current Rails Application is split in to 2 folders. /base /app With base being referenced into app with the following line in my gemfile gem 'base', path: "../base" I'm trying to git deploy this repository to dokku - however this is failing…
Grant Trevor
  • 1,052
  • 9
  • 23
5
votes
1 answer

Development and production with docker with multiple sites

Currently I have 3 linode servers: 1: Cache server (Ubuntu, varnish) 2: App server (Ubuntu, nginx, rabbitmq-server, python, php5-fpm, memcached) 3: DB server (Ubuntu, postgresql + pg_bouncer) On my app-server I have multiple sites (topdomains). Each…
Tomas Jacobsen
  • 2,368
  • 6
  • 37
  • 81
5
votes
1 answer

Collectstatic configuration error when deploying Django app with dokku

When deploying a Django app using dokku I am getting a following error Collectstatic configuration error. To debug, run: $ heroku run python ./manage.py collectstatic --noinput I found no way to run heroku run python ./manage.py collectstatic…
silentser
  • 2,083
  • 2
  • 23
  • 29
5
votes
1 answer

deploying node.js app with mongodb with dokku on digital ocean

I am trying to deploy a Node.js app with mongodb on digital ocean with dokku. Unfortunately, I have some problems having the node app connecting to mongodb. What have I done so far. 0. I have a node.js app in a git repo 1. Created dokku instance in…
Mike
  • 3,775
  • 8
  • 39
  • 79
5
votes
2 answers

Console access to Dokku's PostgreSQL plugin?

Is there a way to get console access to Dokku's PostgreSQL plugin? On Heroku I'd do heroku pg:psql. Is this possible in a Dokku environment and if so how?
dschwertfeger
  • 286
  • 1
  • 4
  • 21
5
votes
1 answer

Setting up Dokku with MySQL and Rails

Right off the bat, this is the issue: $ dokku mysql:create app mkdir: cannot create directory ‘/home/git’: Permission denied Dumb founded... Here's what I did: I went to Digital Ocean and got a Dokku server. From there I set it up by simply going…
BenMorganIO
  • 2,036
  • 17
  • 37
5
votes
1 answer

Play! Framework on dokku memory issue (heap object)

I get this error when deploying Play! app on dokku: Total 27 (delta 0), reused 0 (delta 0) -----> Building test ... Play 2.x - Java app detected -----> Installing OpenJDK 1.6...done -----> Building app with sbt -----> Running: sbt clean compile…
4
votes
0 answers

Dokku & Nginx - Connection failed while connecting to upstream (code 111)

I use Dokku to host my React app and Nginx for proxy. I get a 502 Bad Gateway error, when I try to access on the homepage... dokku nginx:error-logs app give me 2020/07/16 06:15:45 [error] 16459#16459: *308 connect() failed (111: Connection refused)…
pirmax
  • 2,054
  • 8
  • 36
  • 69
4
votes
1 answer

Dokku with Puppeteer Chrome headless : "Failed to launch chrome"

Dokku is an alternative for Heroku, with a self hosted version. I try to use Puppeteer Chrome headless with this code: const browser = await puppeteer.launch({ headless: true, args: [ '--no-sandbox', …
pirmax
  • 2,054
  • 8
  • 36
  • 69
4
votes
0 answers

Installing PgBouncer on a Dokku instance?

I have an app currently on a 48GB (12 vCPU) DO server, which is struggling with connection sizes. We have an API that gets hit ever 5 minutes by 350~ IoT devices and it gets added to a background queue for log processing. I have tried using both…
C. Short
  • 109
  • 5
4
votes
0 answers

Procfile commands was not found with dokku and node js

I'm trying to deploy my nuxt app with dokku but web:command was not found i'm trying to run: web: npm run start but it gives me: web:: command not found
Albert Jovinskyi
  • 349
  • 1
  • 3
  • 13
4
votes
1 answer

dokku: 413 Request Entity Too Large

I keep getting the "413 Request Entity Too Large" error when uploading files that are larger than 1M. I followed the following instructions from here but it didn't work. mkdir /home/dokku/myapp/nginx.conf.d/ echo 'client_max_body_size 50M;' >…
Dev01
  • 13,292
  • 19
  • 70
  • 124
1 2
3
32 33