From 049bcde5234ad42ff5552912372f476714a02c22 Mon Sep 17 00:00:00 2001 From: LindaOrtega Date: Thu, 9 Jul 2020 20:23:25 -0400 Subject: [PATCH 1/5] Add local to config file --- chainweb.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chainweb.yaml b/chainweb.yaml index 4b8113d..6ffc210 100644 --- a/chainweb.yaml +++ b/chainweb.yaml @@ -98,6 +98,9 @@ chainweb: fetchTimeout: 3000000 initialCutHeightLimit: null rosetta: true + localApi: + interface: '*' + port: 1848 logging: telemetryBackend: enabled: true From df357d0ae8454685bac65543f0fd66c4ea8b7a26 Mon Sep 17 00:00:00 2001 From: LindaOrtega Date: Fri, 10 Jul 2020 17:31:47 -0400 Subject: [PATCH 2/5] use binary with local and delta changes --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bc20386..61c99ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y librocksdb-dev curl xxd openssl # Install chainweb applications WORKDIR /chainweb # RUN curl -Ls "https://github.com/kadena-io/chainweb-node/releases/download//" | tar -xzC "/chainweb/" -RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.8.6.5.ubuntu-18.04.d75df80.tar.gz" | tar -xzC "/chainweb/" +RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.8.6.5.ubuntu-18.04.a08ac1b.tar.gz" | tar -xzC "/chainweb/" COPY check-reachability.sh . COPY run-chainweb-node.sh . From d3f374f7a89fd4fd4a2b461e92466022c85110d4 Mon Sep 17 00:00:00 2001 From: LindaOrtega Date: Fri, 10 Jul 2020 18:12:59 -0400 Subject: [PATCH 3/5] exposes local port in readme --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c6fdf2..1fe1782 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ such a version, you can continue to use it by mounting it via 4. Start Chainweb node: ```sh - docker run -d -p 443:443 -v chainweb-data:/data kadena/chainweb-node + docker run -d -p 1848:1848 -p 443:443 -v chainweb-data:/data kadena/chainweb-node ``` For explanations and additional configuration options (like, for instance, using @@ -34,7 +34,7 @@ only have to ensure that it can be reached on the default port 443. You can use the following shell command to start the node. ```sh -docker run -d -p 443:443 kadena/chainweb-node +docker run -d -p 1848:1848 -p 443:443 kadena/chainweb-node ``` If you are running the node from a local network with NAT (network address @@ -45,7 +45,7 @@ Using a different port is possible, too. For that the public port number must be provided the Chainweb node in the environment. ```sh -docker run -d -p 1789:1789 -e "CHAINWEB_PORT=1789" kadena/chainweb-node +docker run -d -p 1848:1848 -p 1789:1789 -e "CHAINWEB_PORT=1789" kadena/chainweb-node ``` More options to configure the node are described at the bottom of this document. @@ -86,6 +86,7 @@ follows: ```sh docker run \ --detach \ + --publish 1848:1848 \ --publish 443:443 \ --name chainweb-node \ chainweb-node-with-db \ @@ -111,6 +112,7 @@ docker run -ti --rm \ # 2. Use the database volume with a Chainweb node docker run \ --detach \ + --publish 1848:1848 \ --publish 443:443 \ --name chainweb-node \ --mount type=volume,source=chainweb-data,target=/data \ @@ -134,6 +136,7 @@ The following example provides a public miner key and an account name: ```sh docker run \ --detach \ + --publish 1848:1848 \ --publish 443:443 \ -e "MINER_KEY=26a9285cd8db34702cfef27a5339179b5a26373f03dd94e2096b0b3ba6c417da" \ -e "MINER_ACCOUNT=merle" \ @@ -218,6 +221,7 @@ Here is an example for how to use these settings: ```sh docker run \ --detach \ + --publish 1848:1848 \ --publish 1789:1789 \ --name chainweb-node \ --env "CHAINWEB_PORT=1789" \ From 9f09d4676c06c8a90ad84a861760c79010110135 Mon Sep 17 00:00:00 2001 From: LindaOrtega Date: Fri, 10 Jul 2020 18:53:20 -0400 Subject: [PATCH 4/5] include all release candidate commits --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 61c99ca..e6795fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y librocksdb-dev curl xxd openssl # Install chainweb applications WORKDIR /chainweb # RUN curl -Ls "https://github.com/kadena-io/chainweb-node/releases/download//" | tar -xzC "/chainweb/" -RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.8.6.5.ubuntu-18.04.a08ac1b.tar.gz" | tar -xzC "/chainweb/" +RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.8.6.5.ubuntu-18.04.0356943.tar.gz" | tar -xzC "/chainweb/" COPY check-reachability.sh . COPY run-chainweb-node.sh . From 9e06ac174b2e3a6dc3dea567fc10ee3dc03cf70e Mon Sep 17 00:00:00 2001 From: LindaOrtega Date: Mon, 13 Jul 2020 12:02:04 -0400 Subject: [PATCH 5/5] update to latest release candidate binary --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e6795fd..67e8269 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y librocksdb-dev curl xxd openssl # Install chainweb applications WORKDIR /chainweb # RUN curl -Ls "https://github.com/kadena-io/chainweb-node/releases/download//" | tar -xzC "/chainweb/" -RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.8.6.5.ubuntu-18.04.0356943.tar.gz" | tar -xzC "/chainweb/" +RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.8.6.5.ubuntu-18.04.1d32f09.tar.gz" | tar -xzC "/chainweb/" COPY check-reachability.sh . COPY run-chainweb-node.sh .