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:
|
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
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user