Fix geth container startup

This commit is contained in:
David Boreham 2022-08-21 20:26:55 -06:00
parent 390a347fd5
commit 4dec5c0ae2
3 changed files with 7 additions and 11 deletions

View File

@ -1 +1,5 @@
# orchestrator-play
# orchestrator-play
```
$ python deploy-system.py --verbose --include db-sharding,contract,ipld-eth-server,go-ethereum-foundry up
```

View File

@ -18,13 +18,13 @@ services:
DB_HOST: ipld-eth-db
DB_PORT: 5432
DB_PASSWORD: password
DB_WRITE: ${db_write}
DB_WRITE: true
DB_TYPE: postgres
DB_DRIVER: sqlx
DB_WAIT_FOR_SYNC: "true"
CHAIN_ID: "99"
USE_GENESIS: "true"
EXTRA_START_ARGS: ${extra_args}
EXTRA_START_ARGS: "--metrics --metrics.expensive --metrics.addr 0.0.0.0 --metrics.port 6060"
ports:
- "127.0.0.1:8545:8545"
- "127.0.0.1:8546:8546"

View File

@ -1,8 +0,0 @@
from testcontainers.compose import DockerCompose
from testcontainers.core.docker_client import DockerClient
from testcontainers.core.exceptions import NoSuchPortExposed
from testcontainers.core.waiting_utils import wait_for_logs
with DockerCompose(filepath=".", compose_file_name="docker-compose-test.yaml") as compose:
port = compose.get_service_port("db", 5432)
print(port)