Enable WebSocket server by default in Docker image (#2774)

* Enable WebSocket server by default in Docker image

The rpc server is enabled by default and port mappings are provided for both the rpc server and the websocket server. Keeping the configuration and documentation consistent between the two will be clearer.

* Consistently document default config
This commit is contained in:
Chip Thien 2020-05-19 10:58:24 -05:00 committed by GitHub
commit cb40669563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,15 @@
[node.websocket]
# WebSocket server bind address
# WebSocket server bind address.
# type:string,ip
address = "::ffff:0.0.0.0"
# Enable or disable WebSocket server.
# type:bool
enable = true
[rpc]
# Enable or disable RPC
# Enable or disable RPC.
# type:bool
enable = true