forked from cerc-io/stack-orchestrator
Fix compose file
This commit is contained in:
parent
c0db45c963
commit
fdf22b07da
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user