Added network for node rpc communication

This commit is contained in:
Kirill Fedoseev 2019-11-08 11:42:56 +03:00
parent d00d78ec6c
commit 64e4d5e9f1
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@ services:
testnet:
build: ./testnet
image: bnc-testnet
networks:
- binance_rpc_net
volumes:
- 'marketdata:/root/.bnbchaind/marketdata'
api-server:
@ -10,6 +12,7 @@ services:
image: bnc-api-server
networks:
- binance_net
- binance_rpc_net
ports:
- '8000:8000'
volumes:
@ -17,5 +20,6 @@ services:
networks:
binance_net:
external: true
binance_rpc_net:
volumes:
marketdata: