From fdf22b07dada82470af0e3177f9c2fbc3d743258 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Sat, 13 Aug 2022 23:23:16 -0600 Subject: [PATCH] Fix compose file --- compose/docker-compose-go-ethereum-foundry.yml | 2 +- deploy-system.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/compose/docker-compose-go-ethereum-foundry.yml b/compose/docker-compose-go-ethereum-foundry.yml index 234f94b7..ece58a94 100644 --- a/compose/docker-compose-go-ethereum-foundry.yml +++ b/compose/docker-compose-go-ethereum-foundry.yml @@ -6,7 +6,7 @@ services: depends_on: ipld-eth-db: condition: service_healthy - image: vulcanize/go-ethereum-foundry + image: vulcanize/go-ethereum-foundry:local healthcheck: test: ["CMD", "nc", "-v", "localhost", "8545"] interval: 30s diff --git a/deploy-system.py b/deploy-system.py index f0faf287..55f6b9d2 100644 --- a/deploy-system.py +++ b/deploy-system.py @@ -57,9 +57,13 @@ if verbose: # See: https://gabrieldemarmiesse.github.io/python-on-whales/sub-commands/compose/ docker = DockerClient(compose_files=compose_files) -command = args.command +command = args.command[0] if not args.dry_run: if command == "up": + if verbose: + print("Running compose up") docker.compose.up() elif command == "down": + if verbose: + print("Running compose down") docker.compose.down()