Fixes
This commit is contained in:
parent
30f06366f9
commit
c53595cbfe
@ -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")
|
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()
|
args = parser.parse_args()
|
||||||
print(args)
|
|
||||||
|
|
||||||
verbose = args.verbose
|
verbose = args.verbose
|
||||||
quiet = args.quiet
|
quiet = args.quiet
|
||||||
|
@ -2,7 +2,7 @@ contract
|
|||||||
db-sharding
|
db-sharding
|
||||||
db
|
db
|
||||||
eth-statediff-fill-service
|
eth-statediff-fill-service
|
||||||
go-ethereum
|
go-ethereum-foundry
|
||||||
ipld-eth-beacon-db
|
ipld-eth-beacon-db
|
||||||
ipld-eth-beacon-indexer
|
ipld-eth-beacon-indexer
|
||||||
ipld-eth-server
|
ipld-eth-server
|
||||||
|
@ -6,11 +6,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
ipld-eth-db:
|
ipld-eth-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
build:
|
image: vulcanize/go-ethereum-foundry
|
||||||
context: ../../
|
|
||||||
dockerfile: ./docker/local/go-ethereum.Dockerfile
|
|
||||||
args:
|
|
||||||
GENESIS_FILE_PATH: ${genesis_file_path}
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-v", "localhost", "8545"]
|
test: ["CMD", "nc", "-v", "localhost", "8545"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
@ -2,7 +2,7 @@ version: "3.2"
|
|||||||
services:
|
services:
|
||||||
ipld-eth-beacon-db:
|
ipld-eth-beacon-db:
|
||||||
restart: always
|
restart: always
|
||||||
image: vulcanize/ipld-eth-beacon-db:v0.2.0
|
image: vulcanize/ipld-eth-beacon-db:local
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: vdbm
|
POSTGRES_USER: vdbm
|
||||||
POSTGRES_DB: vulcanize_testing
|
POSTGRES_DB: vulcanize_testing
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- ipld-eth-beacon-db
|
- ipld-eth-beacon-db
|
||||||
- lighthouse
|
- lighthouse
|
||||||
image: vulcanize/ipld-eth-beacon-indexer:v0.2.0
|
image: vulcanize/ipld-eth-beacon-indexer:local
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ${eth_beacon_config_file}
|
source: ${eth_beacon_config_file}
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
ipld-eth-db:
|
ipld-eth-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
image: vulcanize/ipld-eth-server:v4.0.5-alpha
|
image: vulcanize/ipld-eth-server:local
|
||||||
environment:
|
environment:
|
||||||
IPLD_SERVER_GRAPHQL: "true"
|
IPLD_SERVER_GRAPHQL: "true"
|
||||||
IPLD_POSTGRAPHILEPATH: http://graphql:5000
|
IPLD_POSTGRAPHILEPATH: http://graphql:5000
|
||||||
@ -46,4 +46,3 @@ services:
|
|||||||
SCHEMA: public,eth
|
SCHEMA: public,eth
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:5000:5000"
|
- "127.0.0.1:5000:5000"
|
||||||
|
|
@ -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:
|
@ -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("--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("--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("--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()
|
args = parser.parse_args()
|
||||||
print(args)
|
|
||||||
|
|
||||||
verbose = args.verbose
|
verbose = args.verbose
|
||||||
quiet = args.quiet
|
quiet = args.quiet
|
||||||
|
|
||||||
|
print(args)
|
||||||
|
|
||||||
with open("cluster-list.txt") as cluster_list_file:
|
with open("cluster-list.txt") as cluster_list_file:
|
||||||
clusters = cluster_list_file.read().splitlines()
|
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/
|
# See: https://gabrieldemarmiesse.github.io/python-on-whales/sub-commands/compose/
|
||||||
docker = DockerClient(compose_files=compose_files)
|
docker = DockerClient(compose_files=compose_files)
|
||||||
|
|
||||||
docker.compose.up()
|
if not args.dry_run:
|
||||||
|
docker.compose.up()
|
||||||
|
|
||||||
|
@ -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")
|
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()
|
args = parser.parse_args()
|
||||||
print(args)
|
|
||||||
|
|
||||||
verbose = args.verbose
|
verbose = args.verbose
|
||||||
quiet = args.quiet
|
quiet = args.quiet
|
||||||
|
Loading…
Reference in New Issue
Block a user