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
Wrap master node in docker container #296
Conversation
@@ -26,7 +27,7 @@ import io.circe.parser.parse | |||
* | |||
* @param masterTendermintPath Tendermint's home directory | |||
*/ | |||
case class KeysPath(masterTendermintPath: String) extends slogging.LazyLogging { | |||
case class KeysPath(masterTendermintPath: String)(implicit ec: ContextShift[IO]) extends slogging.LazyLogging { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the implicit is needed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@@ -7,7 +7,8 @@ matrix: | |||
services: | |||
- docker | |||
install: | |||
- docker pull fluencelabs/solver:latest | |||
- docker pull fluencelabs/solver:2018-dec-demo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be merged to master?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There problem is that I can't really release new docker images before I merge this PR to master, and tests in the PR won't pass before I release new docker images.
So this is a workaround, I will create the next pull request after I release new docker images as 'latest', where I will change images to latest everywhere.
@@ -26,7 +27,7 @@ import io.circe.parser.parse | |||
* | |||
* @param masterTendermintPath Tendermint's home directory | |||
*/ | |||
case class KeysPath(masterTendermintPath: String) extends slogging.LazyLogging { | |||
case class KeysPath(masterTendermintPath: String)(implicit ec: ContextShift[IO]) extends slogging.LazyLogging { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Changes
docker.sock
Usage
docker run -e "TENDERMINT_IP=host.docker.internal" -e "PORTS=20000:20002" -v /var/run/docker.sock:/var/run/docker.sock -it fluencelabs/master
host.docker.internal
should be used formacOS
, on linux you can just pass your IP