Skip to content

Commit

Permalink
add tcp ports for harmony to outside world
Browse files Browse the repository at this point in the history
  • Loading branch information
cventastic committed Jan 25, 2022
1 parent 227922d commit 08bdcc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker-compose.harmony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ services:
- "9500"
- "9000"
- "6000"
- "30303"
ports:
- 9000:9000/tcp
- 6000:6000/tcp
volumes:
- harmony_data:/harmony/
- ./harmony/keyfiles:/.hmy/blskeys
Expand Down
2 changes: 1 addition & 1 deletion harmony/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ EXPOSE 9000/tcp 9500/tcp 9800/tcp 6000/tcp
RUN mkdir -p /harmony/harmony_db_0 /harmony/harmony_db_1 /harmony/harmony_db_2 /harmony/harmony_db_3 /harmony/log /harmony/.hmy

RUN curl -LO https://harmony.one/binary && chmod +x binary
RUN curl -LO https://harmony.one/hmycli && mv hmycli && chmod +x hmycli
RUN curl -LO https://harmony.one/hmycli && chmod +x hmycli

CMD /binary --log.dir /harmony/log --run explorer --run.shard 0 --dns.zone t.hmny.io --http.ip 0.0.0.0 --datadir /harmony

0 comments on commit 08bdcc3

Please sign in to comment.