Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add how to redirect web sockets for Bokeh app.
  • Loading branch information
jlenain authored Feb 3, 2024
1 parent a692afc commit a47fbe6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nectarchain/dqm/vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Congrats! You now have two VMs with ZODB/ZEO servers with ZRS replication enable
The Bokeh service is launched from the second VM (the one hosting the secondary, read-only database) with:
```shell
bokeh serve --num-procs $(grep -c ^processor /proc/cpuinfo) \
--allow-websocket-origin=<SECONDARY_HOST_IP_ADDRESS>:5006 \
--allow-websocket-origin=<DNS_ALIAS_FOR_SECONDARY_HOST>:5006 \
--show bokeh_app
```
and served on `localhost` on port 5006.
Expand Down

0 comments on commit a47fbe6

Please sign in to comment.