Browse Source

Docker image port fix (#4589)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
pull/4598/head
Greg Szabo 5 years ago
committed by GitHub
parent
commit
d9c34315d2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      DOCKER/Dockerfile

+ 2
- 1
DOCKER/Dockerfile View File

@ -24,7 +24,7 @@ USER tmuser
WORKDIR $TMHOME
# p2p and rpc port
# p2p, rpc and prometheus port
EXPOSE 26656 26657 26660
ENTRYPOINT ["/usr/bin/tendermint"]
@ -42,6 +42,7 @@ RUN /usr/bin/tendermint init && \
-e 's/^addr_book_strict\s*=.*/addr_book_strict = false/' \
-e 's/^timeout_commit\s*=.*/timeout_commit = "500ms"/' \
-e 's/^index_all_tags\s*=.*/index_all_tags = true/' \
-e 's,^laddr = "tcp://127.0.0.1:26657",laddr = "tcp://0.0.0.0:26657",' \
-e 's/^prometheus\s*=.*/prometheus = true/' \
$TMHOME/config/config.toml && \
sed -i \


Loading…
Cancel
Save