dokku

Dokku asking for password when trying to git push

此生再无相见时 提交于 2019-12-08 18:36:47
问题 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 "dokku@domain" password. 回答1: I had this problem too because I work from multiple machines so even though I uploaded both public ssh keys to digital ocean prior to creating the droplet when I went to sign in I could do so on both machines if I was

Rails console hanging in dokku droplet

喜夏-厌秋 提交于 2019-12-08 05:31:25
I just moved from heroku to a digital ocean dokku one-klick droplet and it's working fine exept of the rails console. Since I thought it might be a problem with missing ram I upgraded my droplet to 2gb but it still won't work... Everytime I run "dokku run rails c", the console is loading in the right enviromnent and it seems to be fine. But when I type in something (2+2 or User.all,...) and hit enter, there is no processing of the console. It's just hanging and the only thing I can do is to quit the console (ctrl+c). No errors are displayed... I already reinstalled the app completely but it

Rails console hanging in dokku droplet

一笑奈何 提交于 2019-12-08 04:45:09
问题 I just moved from heroku to a digital ocean dokku one-klick droplet and it's working fine exept of the rails console. Since I thought it might be a problem with missing ram I upgraded my droplet to 2gb but it still won't work... Everytime I run "dokku run rails c", the console is loading in the right enviromnent and it seems to be fine. But when I type in something (2+2 or User.all,...) and hit enter, there is no processing of the console. It's just hanging and the only thing I can do is to

How to change dokku PHP memory_limit?

萝らか妹 提交于 2019-12-07 13:30:41
问题 I am hosting a WP blog on dokku, but there are stability issues, I suspect memory so I want to increase memory available to PHP, specifically, to set custom memory_limit value. I am running on dokku v0.5.6 , and using BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-php#102 To debug the PHP settings of my blog app I run dokku run blog php -ini | grep memory_limit #=> memory_limit => 128M => 128M I have followed the suggestions in Heroku PHP ini documentation Heroku PHP concurrency

How to start faye server on a rails app deployed using dokku?

↘锁芯ラ 提交于 2019-12-06 12:47:54
问题 I've hosted my rails application on Digitalocean using Dokku. There's this need for my application to run real-time applications through Faye. I've been trying several ways like the shoreman plugin for Dokku and adding faye: bundle exec rackup faye.ru -s thin -E production to "Procfile" file. But no luck till now, need help on how I can get this Faye server running for my app. 回答1: You need to make several steps to have working faye server (e.g. on port 9292): Your Procfile is OK Expose port

How to start faye server on a rails app deployed using dokku?

半城伤御伤魂 提交于 2019-12-04 19:45:32
I've hosted my rails application on Digitalocean using Dokku. There's this need for my application to run real-time applications through Faye. I've been trying several ways like the shoreman plugin for Dokku and adding faye: bundle exec rackup faye.ru -s thin -E production to "Procfile" file. But no luck till now, need help on how I can get this Faye server running for my app. You need to make several steps to have working faye server (e.g. on port 9292): Your Procfile is OK Expose port 9292 on Docker. I recommend install docker-options plugin and next dokku docker-options:add timer "-p 9292

Dokku - Add domain after setup

主宰稳场 提交于 2019-12-04 08:18:06
问题 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 site.com:port , how can I change Dokku settings to access my app like this - appname.site.com 回答1: Per https://github.com/progrium/dokku: Set up a domain and a wildcard domain pointing to that host. Make sure /home/dokku/VHOST is set to this

Dokku: Listen to multiple ports from an app

让人想犯罪 __ 提交于 2019-12-04 05:00:14
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 need to run both of these apps and access the main app on port 80 and the kue one on some other port(preferably the port that the express app listens to). I have put both of these apps on the Procfile like: web: server=thats-wow NODE_ENV=production node server/app.js worker: node server/kueUi.js The multiple processes on the procfile are handled by

Error when deploying with git (dokku) - timeout / broken pipe

独自空忆成欢 提交于 2019-12-01 06:10:44
I use dokku with digital ocean for a while now without any problem I have a problem now when deploying to dokku leveraging the following command: git remote add dokku dokku@some-ip:myapp git push dokku develop:master I have the following problem: Counting objects: 528, done. Delta compression using up to 4 threads. Compressing objects: 100% (509/509), done. packet_write_wait: Connection to some-ip port 22: Broken pipe fatal: The remote end hung up unexpectedly error: failed to push some refs to 'dokku@some-ip:myapp' I try set ServerAliveInterval for the ssh client git config http.postBuffer