-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localhost infrastructure #123
Comments
You get this error due to lack of SSH daemon enabled on your localhost (Unable to connect to port 22 on 127.0.0.1). Try to enable it and start deploy again. There is also workaround exists, you can deploy containers to localhost without SSH daemon enabled by monkeypatching import fabricio
import functools
# Infrastructure
@fabricio.tasks.infrastructure
def localhost():
fabricio.run = functools.partial(fabricio.local, capture=True) # monkeypatch
fab.env.roledefs.update(
amqp=['anton@localhost'],
reverse_proxy=['anton@localhost'],
postgres=['anton@localhost'],
tarantool=['anton@localhost'],
backend=['anton@localhost'],
) |
renskiy
added a commit
that referenced
this issue
Aug 1, 2017
renskiy
added a commit
that referenced
this issue
Oct 21, 2017
* #123, fabricio.local(): use capture=True by default * local: print result * do not use capture=True by default * pass quiet further * local() and run() are use same signature * cache_key => cache_salt * local(): cache_key => cache_salt * improved documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it any way how launch containers locally?
I have tried to create
but got error
The text was updated successfully, but these errors were encountered: