Skip to content

Commit

Permalink
fix: add extra hosts to support linux machine
Browse files Browse the repository at this point in the history
  • Loading branch information
Westlad committed Dec 6, 2021
1 parent 3aec6f7 commit 53370d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/ping-pong/docker-compose.host.docker.internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ version: '3.5'
services:

client:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
BLOCKCHAIN_WS_HOST: host.docker.internal
AUTOSTART_RETRIES: 100

deployer:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
LOG_LEVEL: debug
# ETH_NETWORK sets the network selected by Truffle from truffle-config.js
Expand All @@ -16,14 +20,20 @@ services:
BLOCKCHAIN_WS_HOST: host.docker.internal

optimist:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
BLOCKCHAIN_WS_HOST: host.docker.internal
AUTOSTART_RETRIES: 100

proposer:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
BLOCKCHAIN_WS_HOST: host.docker.internal

user-local:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
BLOCKCHAIN_WS_HOST: host.docker.internal

0 comments on commit 53370d5

Please sign in to comment.