Fix compose file

This commit is contained in:
David Boreham 2022-08-13 23:23:16 -06:00
parent c0db45c963
commit fdf22b07da
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@ services:
depends_on: depends_on:
ipld-eth-db: ipld-eth-db:
condition: service_healthy condition: service_healthy
image: vulcanize/go-ethereum-foundry image: vulcanize/go-ethereum-foundry:local
healthcheck: healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8545"] test: ["CMD", "nc", "-v", "localhost", "8545"]
interval: 30s interval: 30s

View File

@ -57,9 +57,13 @@ if verbose:
# See: https://gabrieldemarmiesse.github.io/python-on-whales/sub-commands/compose/ # See: https://gabrieldemarmiesse.github.io/python-on-whales/sub-commands/compose/
docker = DockerClient(compose_files=compose_files) docker = DockerClient(compose_files=compose_files)
command = args.command command = args.command[0]
if not args.dry_run: if not args.dry_run:
if command == "up": if command == "up":
if verbose:
print("Running compose up")
docker.compose.up() docker.compose.up()
elif command == "down": elif command == "down":
if verbose:
print("Running compose down")
docker.compose.down() docker.compose.down()