Skip to content

Commit

Permalink
fix correct exposed ports in Docker (oxen-io#495)
Browse files Browse the repository at this point in the history
* fix correct exposed ports in Docker

* add exposed Docker port to Readme example
  • Loading branch information
scilicet64 authored and Doy-lee committed Mar 17, 2019
1 parent 4be45d2 commit b8dc15a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ VOLUME /root/.loki
# loki-wallet-cli
VOLUME /wallet

EXPOSE 22020
EXPOSE 22020
EXPOSE 22022
EXPOSE 22023

ENTRYPOINT ["lokid", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=22022", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=22023", "--non-interactive", "--confirm-external-bind"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,10 @@ The produced binaries still link libc dynamically. If the binary is compiled on
docker build --build-arg NPROC=1 -t loki .

# either run in foreground
docker run -it -v /loki/chain:/root/.loki -v /loki/wallet:/wallet -p 22020:22020 loki
docker run -it -v /loki/chain:/root/.loki -v /loki/wallet:/wallet -p 22022:22022 loki

# or in background
docker run -it -d -v /loki/chain:/root/.loki -v /loki/wallet:/wallet -p 22020:22020 loki
docker run -it -d -v /loki/chain:/root/.loki -v /loki/wallet:/wallet -p 22022:22022 loki

* The build needs 3 GB space.
* Wait one hour or more
Expand Down

0 comments on commit b8dc15a

Please sign in to comment.