This commit is contained in:
David Boreham 2022-08-13 22:42:15 -06:00
parent 30f06366f9
commit c53595cbfe
9 changed files with 28 additions and 14 deletions

View File

@ -21,7 +21,6 @@ parser.add_argument("--check-only", action="store_true", help="looks at what\'s
parser.add_argument("--dry-run", action="store_true", help="don\'t do anything, just print the commands that would be executed")
args = parser.parse_args()
print(args)
verbose = args.verbose
quiet = args.quiet

View File

@ -2,7 +2,7 @@ contract
db-sharding
db
eth-statediff-fill-service
go-ethereum
go-ethereum-foundry
ipld-eth-beacon-db
ipld-eth-beacon-indexer
ipld-eth-server

View File

@ -6,11 +6,7 @@ services:
depends_on:
ipld-eth-db:
condition: service_healthy
build:
context: ../../
dockerfile: ./docker/local/go-ethereum.Dockerfile
args:
GENESIS_FILE_PATH: ${genesis_file_path}
image: vulcanize/go-ethereum-foundry
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8545"]
interval: 30s

View File

@ -2,7 +2,7 @@ version: "3.2"
services:
ipld-eth-beacon-db:
restart: always
image: vulcanize/ipld-eth-beacon-db:v0.2.0
image: vulcanize/ipld-eth-beacon-db:local
environment:
POSTGRES_USER: vdbm
POSTGRES_DB: vulcanize_testing

View File

@ -5,7 +5,7 @@ services:
depends_on:
- ipld-eth-beacon-db
- lighthouse
image: vulcanize/ipld-eth-beacon-indexer:v0.2.0
image: vulcanize/ipld-eth-beacon-indexer:local
volumes:
- type: bind
source: ${eth_beacon_config_file}

View File

@ -5,7 +5,7 @@ services:
depends_on:
ipld-eth-db:
condition: service_healthy
image: vulcanize/ipld-eth-server:v4.0.5-alpha
image: vulcanize/ipld-eth-server:local
environment:
IPLD_SERVER_GRAPHQL: "true"
IPLD_POSTGRAPHILEPATH: http://graphql:5000
@ -46,4 +46,3 @@ services:
SCHEMA: public,eth
ports:
- "127.0.0.1:5000:5000"

View File

@ -0,0 +1,17 @@
version: "3.2"
services:
lighthouse:
restart: always
image: vulcanize/lighthouse:local
environment:
- NETWORK=mainnet
volumes:
- lighthouse_db:/root/.lighthouse
ports:
- 127.0.0.1:5052:5052
- 9000:9000/udp
- 9000:9000/tcp
command: ["tail", "-f", "/dev/null"]
volumes:
lighthouse_db:

View File

@ -12,13 +12,16 @@ parser.add_argument("--verbose", action="store_true", help="increase output verb
parser.add_argument("--quiet", action="store_true", help="don\'t print informational output")
parser.add_argument("--check-only", action="store_true", help="looks at what\'s already there and checks if it looks good")
parser.add_argument("--dry-run", action="store_true", help="don\'t do anything, just print the commands that would be executed")
parser.add_argument("--exclude", type=str, help="don\'t start these components")
parser.add_argument("--include", type=str, help="only start these components")
args = parser.parse_args()
print(args)
verbose = args.verbose
quiet = args.quiet
print(args)
with open("cluster-list.txt") as cluster_list_file:
clusters = cluster_list_file.read().splitlines()
@ -37,5 +40,6 @@ print(f"files: {compose_files}")
# See: https://gabrieldemarmiesse.github.io/python-on-whales/sub-commands/compose/
docker = DockerClient(compose_files=compose_files)
if not args.dry_run:
docker.compose.up()

View File

@ -35,7 +35,6 @@ parser.add_argument("--check-only", action="store_true", help="looks at what\'s
parser.add_argument("--dry-run", action="store_true", help="don\'t do anything, just print the commands that would be executed")
args = parser.parse_args()
print(args)
verbose = args.verbose
quiet = args.quiet