Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rupshabagchi authored Mar 16, 2017
1 parent 8fe7ce5 commit 2b0778e
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions eth-net-intelligence-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,9 @@
##
## Note: if you actually want to monitor a client, you'll need to make sure it can be reached from this container.
## The best way in my opinion is to start this container with all client '-p' port settings and then
# share its network with the client. This way you can redeploy the client at will and just leave 'ethnetintel' running. E.g. with
## the python client 'pyethapp':
##
#
# `docker run -d --name ethnetintel \
# -v /home/user/app.json:/home/ethnetintel/eth-net-intelligence-api/app.json \
# -p 0.0.0.0:30303:30303 \
# -p 0.0.0.0:30303:30303/udp \
# ethnetintel:latest`
#
# `docker run -d --name pyethapp \
# --net=container:ethnetintel \
# -v /path/to/data:/data \
# pyethapp:latest`
#
## If you now want to deploy a new client version, just redo the second step.
# share its network with the client. This way you can redeploy the client at will and just leave 'ethnetintel' running.

#######################################################


FROM debian
Expand Down

0 comments on commit 2b0778e

Please sign in to comment.