dokku

Dokku deployed Silex can't find PdoServiceProvider

核能气质少年 提交于 2019-12-24 12:08:28
问题 I have a project done with Silex, and I was using herrera-io/silex-pdo as the PDO provider, but I faced random crashes with socket errors (I connect to the DB via socket), since that lib is abandoned, I changed to csanquer/pdo-service-provider , and it works just fine on my localhost server, but when I deploy to remote, I get the following error: PHP Fatal error: Class 'Csanquer\Silex\PdoServiceProvider\Provider\PdoServiceProvider' not found in /app/web/index.php on line 52 Here is the code

ASP.NET 5.0 beta 8 in Docker doesn't start

≡放荡痞女 提交于 2019-12-24 00:16:29
问题 I have been running a website using ASP.NET 5.0 beta 7 in a Docker container, using the official Docker image - https://github.com/aspnet/aspnet-docker - which was working fine. I recently updated my project to beta 8, and changed the Dockerfile to use the beta 8 version of the Docker image. Everything works fine when I run it locally on my Windows machine, whether I use Visual Studio to start the project with IIS Express, or run it using Kestrel. However, then I push it to my Dokku server,

How to set the root application directory?

 ̄綄美尐妖づ 提交于 2019-12-13 05:18:07
问题 I have created my first droplet, but I don't know how to set the root application directory? I tried to create a folder for my app name in /home/dokku/app_name Then, I did cd app_name and then git init Then I added a remote repo: git remote add dokku root@do.mydomain.com:app_name But, when try to push I get error: fatal: 'app_name' does not appear to be a git repository fatal: The remote end hung up unexpectedly How to configure this? How to set the root application directory? 回答1: Follow the

Telegraf daemon not receiving metrics from app deployed with Dokku

北战南征 提交于 2019-12-12 18:17:37
问题 I've already monitored NodeJS apps in the past with Telegraf+InfluxDB+Grafana, but it's the first time I try to monitor a Dokku app, without success so far. I have the following setup app server monitoring serveur - telegraf daemon (listening on udp 8125) ------> InfluxDB + Grafana - dokku - myapp : sending metrics on localhost:udp:8125 I have the issue that metrics sent from myapp on udp://localhost:8125 are not received by telegraf . The connectivity from telegraf to influxdb and grafana is

Dokku error /var/lib/dokku/plugins/available/pg-plugin/plugin.toml: no such file or directory

梦想的初衷 提交于 2019-12-12 03:54:50
问题 So here what I did and the following output: root@ubuntu-512mb-sfo1-01:/var/lib/dokku/plugins# dokku postgres:link DATABASE ubuntu-512mb-sfo1-01 2016/02/18 05:24:38 open /var/lib/dokku/plugins/available/pg-plugin/plugin.toml: no such file or directory 2016/02/18 05:24:38 open /var/lib/dokku/plugins/available/pg-plugin/plugin.toml: no such file or directory no config vars for ubuntu-512mb-sfo1-01 Can someone help me? I try to deploy rails to digital ocean. I use http://blog.flatironschool.com

Rails - Dokku - Paperclip: Every push to production breaks(404s) user uploaded images

走远了吗. 提交于 2019-12-12 03:16:53
问题 Running Rails 4 application on Digital Ocean with Dokku. Users can upload an image via paperclip. I can upload the images fine, and the application runs great and displays all images. Once I make a small change like a text change and I run $git push dokku master, all uploaded images 404. Model: class ProductImage < ActiveRecord::Base has_attached_file :image, default_url: "/images/:style/missing.png", :path =>":rails_root/public/system/:attachment/:id/:basename_:style.:extension", :url =>"

Deployiong rails app to digital ocean dokku ssh key not found

旧街凉风 提交于 2019-12-11 01:15:46
问题 I want to deploy rails app to digital ocean. I use this turorial: http://blog.flatironschool.com/using-digital-ocean-and-dokku-for-easier-rails-app-deploys/ When I do this: First, you’ll need to copy your computer’s public SSH key. Go to your terminal and run this: $ cat /.ssh/idrsa.pub I get the following output: jonstark@jonstark-pc:~$ cat /.ssh/idrsa.pub cat: /.ssh/idrsa.pub: No such file or directory What are my next actions? (I am really newbie to ubuntu). I understand that may be I

git remote does not appear to be a git repository (dokku)

半城伤御伤魂 提交于 2019-12-10 18:05:28
问题 I just created a digital ocean server with ubuntu 14.04 x64. When created, I set ssh access, and downloaded dokku (needed to run command twice, but it's a common issue) Command: wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash Then, locally I tried to connect my local repo and push my code into my new server: $ git remote set-url amsterdam git@**.**.**.** $ git push amsterdam master fatal: 'git@**.**.**.**' does not appear to be a git repository

Dokku: Expose two ports from an application

北战南征 提交于 2019-12-10 10:24:51
问题 I am trying to deploy a Scala based application to dokku, the application runs a http server and a customised sshd server. The problem I have is it seems that dokku only supports one port for the application. I need dokku to expose both my applications ports to the web. In docker this is possible and quite straight forward to do, but when I implement the same technique in the dokku file, I get an error. Any suggestions on allowing two ports to be accessible? 回答1: Since this is, after all,

Dokku: Listen to multiple ports from an app

末鹿安然 提交于 2019-12-09 16:26:47
问题 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