Coder Social home page Coder Social logo

dokku-cli's People

Contributors

fluke avatar hamitturkukaya avatar joiggama avatar knjcode avatar nikhil-bhandari avatar rbojan avatar reitermarkus avatar riccardoio avatar rknell avatar sebastianszturo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dokku-cli's Issues

Problems with tailing logs

Hey,

Thanks for the awesome CLI, I have just started using it and I'm in love with it! ๐Ÿ‘

Now coming to the problem, when I run dokku logs, they get stuck in between. Eg:

2017-03-19T16:47:40.391114662Z app[web.1]: 2017-03-19 16:47:40,390 [http-nio-5000-exec-7] INFO  filters.ApplicationFilters  - GrailsAccessLog at Sun Mar 19 16:47:40 UTC 2017: [controller:abc, format:null]
2017-03-19T16:47:40.748989002Z app[web.1]: 2017-03-19 16:47:40,748 [http-nio-5000-exec-9] INFO  filters.ApplicationFilters  - GrailsAccessLog at Sun Mar 19 16

I saw the command that you log

Running ssh -p 22 dokku@host logs test-dokku-grails -t true...

and added -t to it based on this issue dokku/dokku#1533 and it worked!

ie:

ssh -p 22 -t dokku@host -t logs test-dokku-grails -t

works better than

ssh -p 22 dokku@host -t logs test-dokku-grails -t

Can you add this to the log command?

--remote option?

Hey,
I'm trying to use the --remote option of dokku-cli, but can't seem to understand how it works.
Is it supposed to be an option to force the git remote name (instead of using the default dokku)?

In my local git repo (published to my dokku server), I tried:

dokku --remote=dev config

Output is:

Usage:
  dokku config

Options:
  [--remote=REMOTE]

Display the app's environment variables

And nothing happens (no output) if I try:

dokku config --remote=dev

My local git remote is

git remote -v
dev ssh://[email protected]:2000/my-app (fetch)
dev ssh://[email protected]:2000/my-app (push)

And when logging directly on my dokku box:

dokku config my-app
=====> my-app config vars
DOKKU_APP_RESTORE:     1
DOKKU_DOCKERFILE_PORT: 5000
DOKKU_NGINX_PORT:      80

dokku on different port other than 22

I use ssh on 2202 on my dokku server but dokku-cli doesn't allow me to change the port. would be nice to have a way to set configure this. So I have to change the port every time i want to deploy a new container.

dokku domains:add crashes when used with --remote option

dokku domains:add test --remote=beta
/Library/Ruby/Gems/2.0.0/gems/dokku-cli-0.2.0/lib/dokku_cli/domains.rb:10:in domains_add': wrong number of arguments (2 for 1) (ArgumentError) from /Library/Ruby/Gems/2.0.0/gems/dokku-cli-0.2.0/lib/dokku_cli.rb:67:inmethod_missing'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:29:in run' from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:126:inrun'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:indispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /Library/Ruby/Gems/2.0.0/gems/dokku-cli-0.2.0/bin/dokku:5:in<top (required)>'
from /usr/bin/dokku:23:in load' from /usr/bin/dokku:23:in

'

Add command to add new ssh key

Make it easier to add keys to dokku server

cat /path/to/public_key | ssh root@yourdokkuinstance "sudo sshcommand acl-add dokku [description]"

should be something like

cat /path/to/public_key | dokku keys:add

Adding remotes for dokku

I was trying to add multiple remotes for my app following your instructions:
You can use the global option --remote to run commands on a different server/app from a remote branch. For more details see heroku's guide for multiple environments for an app.

dokku run rails c --remote=staging
dokku config --remote=staging

However the --remote option doesn't work for me.
I also noticed that in the heroku's guide they add remotes like this:
heroku create --remote staging,
but dokku-cli doesn't seem to have this command. Any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.