Files
protocol/python-packages/sra_client/test/relayer/docker-compose.yml
F. Eugene Aumson 62e6336a7d Fix race condition in CI runs of Python SRA client tests (#1751)
* In CI, don't start Launch Kit til Ganache is ready

* Re-enable Python SRA client tests

* For local testing, await service readiness
2019-04-03 18:22:26 -04:00

20 lines
642 B
YAML

# Run Launch Kit with Ganache as the backing node
version: '3'
services:
ganache:
image: "0xorg/ganache-cli:2.2.2"
ports:
- "8545:8545"
launchkit:
image: "0xorg/launch-kit-ci"
depends_on:
- ganache
ports:
- "3000:3000"
network_mode: "host" # to connect to ganache
environment:
- NETWORK_ID=50
- RPC_URL=http://localhost:8545
- WHITELIST_ALL_TOKENS=True
command: bash -c "until curl -sfd'{\"method\":\"net_listening\"}' http://localhost:8545 | grep true; do continue; done; forever ts/lib/index.js"