Skip to content
Permalink
Browse files

Merge pull request #145 from tomochain/feature/haws

Add websocket to standalone nodes for ha
  • Loading branch information...
etienne-napoleone committed May 22, 2019
2 parents 903690c + 54ca15f commit 50ba92a2c5ddb55d69b98f169bca863a0e39575c
Showing with 9 additions and 4 deletions.
  1. +9 −4 networks/mainnet/rpc/docker-compose.yml
@@ -21,10 +21,15 @@ services:
- 30303:30303/tcp
- 30303:30303/udp
labels:
- traefik.backend=node
- traefik.frontend.rule=Host:rpc.tomochain.com
- traefik.docker.network=masternode
- traefik.port=8545
- traefik.rpc.backend=rpc
- traefik.rpc.frontend.rule=Host:rpc.tomochain.com
- traefik.rpc.docker.network=masternode
- traefik.rpc.port=8545
- traefik.ws.backend=websocket
- traefik.ws.frontend.rule=Host:ws.tomochain.com
- traefik.ws.docker.network=masternode
- traefik.ws.port=8546
- traefik.ws.loadbalancer.stickiness=true
restart: always

proxy:

0 comments on commit 50ba92a

Please sign in to comment.
You can’t perform that action at this time.