From 677ce48d5ef827446ad3104655f49996de597dea Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sun, 17 Sep 2017 20:53:09 +0100 Subject: [PATCH] Document JSON-RPC usage --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 51caa53..6fa2bef 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,11 @@ docker run -v /home/username/vertcoin:/data -p 8333:8333 lukechilds/vertcoind ``` If there is a `vertcoin.conf` in the `/data` volume it will be used. If not, one will be created for you. A secure unique JSON-RPC password will also be generated. + +### JSON-RPC + +To access JSON-RPC you'll also need to expose port 8332. You probably only want this available to localhost: + +``` +docker run -v /home/username/vertcoin:/data -p 8333:8333 -p 127.0.0.1:8332:8332 lukechilds/vertcoind +```