|
|
@ -162,7 +162,7 @@ above command does. It will also create a persistent volume in your home direct |
|
|
|
saving your blockchain as well as map the default ports. There is also an `alpine` tag |
|
|
|
saving your blockchain as well as map the default ports. There is also an `alpine` tag |
|
|
|
available for a slim version of the image. |
|
|
|
available for a slim version of the image. |
|
|
|
|
|
|
|
|
|
|
|
Do not forget `--rpcaddr 0.0.0.0`, if you want to access RPC from other containers |
|
|
|
Do not forget `--http.addr 0.0.0.0`, if you want to access RPC from other containers |
|
|
|
and/or hosts. By default, `geth` binds to the local interface and RPC endpoints is not |
|
|
|
and/or hosts. By default, `geth` binds to the local interface and RPC endpoints is not |
|
|
|
accessible from the outside. |
|
|
|
accessible from the outside. |
|
|
|
|
|
|
|
|
|
|
@ -182,16 +182,16 @@ you'd expect. |
|
|
|
|
|
|
|
|
|
|
|
HTTP based JSON-RPC API options: |
|
|
|
HTTP based JSON-RPC API options: |
|
|
|
|
|
|
|
|
|
|
|
* `--rpc` Enable the HTTP-RPC server |
|
|
|
* `--http` Enable the HTTP-RPC server |
|
|
|
* `--rpcaddr` HTTP-RPC server listening interface (default: `localhost`) |
|
|
|
* `--http.addr` HTTP-RPC server listening interface (default: `localhost`) |
|
|
|
* `--rpcport` HTTP-RPC server listening port (default: `8545`) |
|
|
|
* `--http.port` HTTP-RPC server listening port (default: `8545`) |
|
|
|
* `--rpcapi` API's offered over the HTTP-RPC interface (default: `eth,net,web3`) |
|
|
|
* `--http.api` API's offered over the HTTP-RPC interface (default: `eth,net,web3`) |
|
|
|
* `--rpccorsdomain` Comma separated list of domains from which to accept cross origin requests (browser enforced) |
|
|
|
* `--http.corsdomain` Comma separated list of domains from which to accept cross origin requests (browser enforced) |
|
|
|
* `--ws` Enable the WS-RPC server |
|
|
|
* `--ws` Enable the WS-RPC server |
|
|
|
* `--wsaddr` WS-RPC server listening interface (default: `localhost`) |
|
|
|
* `--ws.addr` WS-RPC server listening interface (default: `localhost`) |
|
|
|
* `--wsport` WS-RPC server listening port (default: `8546`) |
|
|
|
* `--ws.port` WS-RPC server listening port (default: `8546`) |
|
|
|
* `--wsapi` API's offered over the WS-RPC interface (default: `eth,net,web3`) |
|
|
|
* `--ws.api` API's offered over the WS-RPC interface (default: `eth,net,web3`) |
|
|
|
* `--wsorigins` Origins from which to accept websockets requests |
|
|
|
* `--ws.origins` Origins from which to accept websockets requests |
|
|
|
* `--ipcdisable` Disable the IPC-RPC server |
|
|
|
* `--ipcdisable` Disable the IPC-RPC server |
|
|
|
* `--ipcapi` API's offered over the IPC-RPC interface (default: `admin,debug,eth,miner,net,personal,shh,txpool,web3`) |
|
|
|
* `--ipcapi` API's offered over the IPC-RPC interface (default: `admin,debug,eth,miner,net,personal,shh,txpool,web3`) |
|
|
|
* `--ipcpath` Filename for IPC socket/pipe within the datadir (explicit paths escape it) |
|
|
|
* `--ipcpath` Filename for IPC socket/pipe within the datadir (explicit paths escape it) |
|
|
|