Skip to content

Commit

Permalink
fix: add second user back
Browse files Browse the repository at this point in the history
  • Loading branch information
Westlad committed Jan 12, 2022
1 parent 4b4ad95 commit d8c1010
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
26 changes: 13 additions & 13 deletions test/ping-pong/docker-compose.host.docker.internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ services:
ZKP_MNEMONIC: tone shadow woman critic glare utility brass scheme edge brisk enforce champion


# user-local2:
# extra_hosts:
# - 'host.docker.internal:host-gateway'
# environment:
# BLOCKCHAIN_WS_HOST: host.docker.internal
# BLOCKCHAIN_PORT: 8546
# USER_ETHEREUM_SIGNING_KEY: eed50965cbe8268a3ee0a24afc2f31c434a7d568bdff73a89783711c91ca1c67
# USER_ADDRESS: '0x4637Ee1126723e098A152f33F326fb767A6A2b8A'
# TEST_LENGTH: 24
# ERC20_NAME: ERC20Mock
# RECIPIENT_PKD: 0x193a37cd7973373aceae05d133f3d69ab6e7ef2f4321461173871ec7611244e2,0x27234a8721e73c9aa160154ee63d2470101fc5fd841221eeb675a91ec2d66e78
# ZKP_MNEMONIC:
# tiger victory velvet tank ritual column horse conduct athlete position soul shaft
user-local2:
extra_hosts:
- 'host.docker.internal:host-gateway'
environment:
BLOCKCHAIN_WS_HOST: host.docker.internal
BLOCKCHAIN_PORT: 8546
USER_ETHEREUM_SIGNING_KEY: eed50965cbe8268a3ee0a24afc2f31c434a7d568bdff73a89783711c91ca1c67
USER_ADDRESS: '0x4637Ee1126723e098A152f33F326fb767A6A2b8A'
TEST_LENGTH: 24
ERC20_NAME: ERC20Mock
RECIPIENT_PKD: 0x193a37cd7973373aceae05d133f3d69ab6e7ef2f4321461173871ec7611244e2,0x27234a8721e73c9aa160154ee63d2470101fc5fd841221eeb675a91ec2d66e78
ZKP_MNEMONIC:
tiger victory velvet tank ritual column horse conduct athlete position soul shaft
30 changes: 15 additions & 15 deletions test/ping-pong/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,21 +131,21 @@ services:
BLOCKCHAIN_WS_HOST: blockchain1
BLOCKCHAIN_PORT: 8546

# user-local2:
# image: ghcr.io/eyblockchain/nightfall3-user-local:latest
# build:
# dockerfile: user-local.Dockerfile
# context: ../../
# networks:
# - pong_network
# environment:
# OPTIMIST_HOST: optimist
# OPTIMIST_WS_PORT: 8080
# OPTIMIST_HTTP_PORT: 80
# CLIENT_HOST: client
# CLIENT_PORT: 80
# BLOCKCHAIN_WS_HOST: blockchain1
# BLOCKCHAIN_PORT: 8546
user-local2:
image: ghcr.io/eyblockchain/nightfall3-user-local:latest
build:
dockerfile: user-local.Dockerfile
context: ../../
networks:
- pong_network
environment:
OPTIMIST_HOST: optimist
OPTIMIST_WS_PORT: 8080
OPTIMIST_HTTP_PORT: 80
CLIENT_HOST: client
CLIENT_PORT: 80
BLOCKCHAIN_WS_HOST: blockchain1
BLOCKCHAIN_PORT: 8546

volumes:
mongodb:
Expand Down
4 changes: 2 additions & 2 deletions test/ping-pong/pong-apps
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ done
# shut down cleanly in the event of a cntl-c etc. We don't want to leave containers running
trap "exit 1" SIGHUP SIGINT SIGTERM

docker-compose -f docker-compose.yml $FILE up -d --remove-orphans proposer user-local1 #user-local2
docker-compose logs -f proposer user-local1 #user-local2
docker-compose -f docker-compose.yml $FILE up -d --remove-orphans proposer user-local1 user-local2
docker-compose logs -f proposer user-local1 user-local2

0 comments on commit d8c1010

Please sign in to comment.