Skip to content

Commit

Permalink
Merge pull request #8 from Layr-Labs/hope/flood-script
Browse files Browse the repository at this point in the history
flood script
  • Loading branch information
epociask authored Oct 2, 2024
2 parents cd3d33e + 79930ba commit 6ad9022
Show file tree
Hide file tree
Showing 10 changed files with 3,318 additions and 19 deletions.
2 changes: 1 addition & 1 deletion blockscout
Submodule blockscout updated 1099 files
69 changes: 55 additions & 14 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,14 @@ services:
- "127.0.0.1:8547:8547"
- "127.0.0.1:8548:8548"
- "127.0.0.1:9642:9642"
- "127.0.0.1:6070:6070"
- "127.0.0.1:6071:6071"
volumes:
- "seqdata:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
- "tokenbridge-data:/tokenbridge-data"
command: --conf.file /config/sequencer_config.json --node.feed.output.enable --node.feed.output.port 9642 --http.api net,web3,eth,txpool,debug --node.seq-coordinator.my-url ws://sequencer:8548 --graphql.enable --graphql.vhosts * --graphql.corsdomain *
command: --conf.file /config/sequencer_config.json --node.feed.output.enable --node.feed.output.port 9642 --http.api net,web3,eth,txpool,debug --node.seq-coordinator.my-url ws://sequencer:8548 --graphql.enable --graphql.vhosts * --graphql.corsdomain --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth

Expand All @@ -175,7 +177,7 @@ services:
volumes:
- "seqdata_b:/home/user/.arbitrum/local/nitro"
- "config:/config"
command: --conf.file /config/sequencer_config.json --node.seq-coordinator.my-url ws://sequencer_b:8548
command: --conf.file /config/sequencer_config.json --node.seq-coordinator.my-url ws://sequencer_b:8548 --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth
- redis
Expand All @@ -190,7 +192,7 @@ services:
volumes:
- "seqdata_c:/home/user/.arbitrum/local/nitro"
- "config:/config"
command: --conf.file /config/sequencer_config.json --node.seq-coordinator.my-url ws://sequencer_c:8548
command: --conf.file /config/sequencer_config.json --node.seq-coordinator.my-url ws://sequencer_c:8548 --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth
- redis
Expand All @@ -205,7 +207,7 @@ services:
volumes:
- "seqdata_d:/home/user/.arbitrum/local/nitro"
- "config:/config"
command: --conf.file /config/sequencer_config.json --node.seq-coordinator.my-url ws://sequencer_d:8548
command: --conf.file /config/sequencer_config.json --node.seq-coordinator.my-url ws://sequencer_d:8548 --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth
- redis
Expand All @@ -221,7 +223,7 @@ services:
- "unsafestaker-data:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
command: --conf.file /config/unsafe_staker_config.json
command: --conf.file /config/unsafe_staker_config.json --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- sequencer
- redis
Expand All @@ -234,11 +236,13 @@ services:
ports:
- "127.0.0.1:8147:8547"
- "127.0.0.1:8148:8548"
- "127.0.0.1:6170:6070"
- "127.0.0.1:6171:6071"
volumes:
- "poster-data:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
command: --conf.file /config/poster_config.json
command: --conf.file /config/poster_config.json --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth
- redis
Expand All @@ -254,7 +258,7 @@ services:
- "poster-data-b:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
command: --conf.file /config/poster_config.json
command: --conf.file /config/poster_config.json --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth
- redis
Expand All @@ -270,7 +274,7 @@ services:
- "poster-data-c:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
command: --conf.file /config/poster_config.json
command: --conf.file /config/poster_config.json --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- geth
- redis
Expand All @@ -282,11 +286,13 @@ services:
ports:
- "127.0.0.1:8247:8547"
- "127.0.0.1:8248:8548"
- "127.0.0.1:6270:6070"
- "127.0.0.1:6271:6071"
volumes:
- "validator-data:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
command: --conf.file /config/validator_config.json --http.port 8547 --http.api net,web3,arb,debug --ws.port 8548
command: --conf.file /config/validator_config.json --http.port 8547 --http.api net,web3,arb,debug --ws.port 8548 --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- sequencer
- validation_node
Expand All @@ -302,7 +308,7 @@ services:
- "validator-data:/home/user/.arbitrum/local/nitro"
- "l1keystore:/home/user/l1keystore"
- "config:/config"
command: --conf.file /config/l3node_config.json --http.port 3347 --http.api net,web3,arb,debug,eth --ws.port 3348
command: --conf.file /config/l3node_config.json --http.port 3347 --http.api net,web3,arb,debug,eth --ws.port 3348 --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0
depends_on:
- sequencer
- validation_node
Expand All @@ -313,9 +319,11 @@ services:
entrypoint: /usr/local/bin/nitro-val
ports:
- "127.0.0.1:8949:8549"
- "127.0.0.1:6370:6070"
- "127.0.0.1:6371:6071"
volumes:
- "config:/config"
command: --conf.file /config/validation_node_config.json
command: --conf.file /config/validation_node_config.json --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0

scripts:
build: scripts/
Expand All @@ -330,7 +338,7 @@ services:
entrypoint: /usr/local/bin/relay
ports:
- "127.0.0.1:9652:9652"
command: --chain.id 412346 --node.feed.input.url ws://sequencer:9642 --node.feed.output.port 9652
command: --chain.id 412346 --node.feed.input.url ws://sequencer:9642 --node.feed.output.port 9652 --metrics --pprof --metrics-server.addr 0.0.0.0 --pprof-cfg.addr 0.0.0.0

tokenbridge:
depends_on:
Expand Down Expand Up @@ -363,14 +371,46 @@ services:

eigenda_proxy:
container_name: eigenda-proxy
image: ghcr.io/layr-labs/eigenda-proxy@sha256:10a4762f5c43e9037835617e6ec0b03da34012df87048a363f43b969ab93679b
image: ghcr.io/layr-labs/eigenda-proxy:v1.4.1
environment:
- EIGENDA_PROXY_ADDR=0.0.0.0
- EIGENDA_PROXY_PORT=4242
- MEMSTORE_ENABLED=true
- MEMSTORE_ENABLED=false
- MEMSTORE_EXPIRATION=45m
- EIGENDA_PROXY_SIGNER_PRIVATE_KEY_HEX=$PRIVATE_KEY
- EIGENDA_PROXY_EIGENDA_DISPERSER_RPC=disperser-holesky.eigenda.xyz:443
- EIGENDA_PROXY_SERVICE_MANAGER_ADDR=0xD4A7E1Bd8015057293f0D0A557088c286942e84b
- EIGENDA_PROXY_ETH_RPC=https://ethereum-holesky-rpc.publicnode.com
- EIGENDA_PROXY_ETH_CONFIRMATION_DEPTH=0
- EIGENDA_PROXY_METRICS_ADDR=0.0.0.0
- EIGENDA_PROXY_METRICS_ENABLED=true
- EIGENDA_PROXY_METRICS_PORT=7300
ports:
- 4242:4242
- 7300:7300

prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
command:
- "--config.file=/etc/prometheus/prometheus.yml"

grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "127.0.0.1:3000:3000"
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning/:ro
- ./grafana/dashboards:/var/lib/grafana/dashboards
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
depends_on:
- prometheus

volumes:
l1data:
Expand All @@ -385,6 +425,7 @@ volumes:
poster-data:
poster-data-b:
poster-data-c:
grafana-data:
config:
postgres-data:
tokenbridge-data:
Loading

0 comments on commit 6ad9022

Please sign in to comment.