Skip to content

Commit

Permalink
try with only 1 sqlite node
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Dec 1, 2024
1 parent 452474b commit 80c8637
Showing 1 changed file with 4 additions and 107 deletions.
111 changes: 4 additions & 107 deletions process-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,12 @@ processes:
restart: exit_on_failure

sequencer3:
command: sequencer-sqlite -- storage-sql -- http -- query -- catchup -- status
command: sequencer -- http -- catchup -- status
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER3_API_PORT
- ESPRESSO_SEQUENCER_LIBP2P_BIND_ADDRESS=0.0.0.0:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_3
- ESPRESSO_SEQUENCER_LIBP2P_ADVERTISE_ADDRESS=localhost:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_3
- ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT, http://localhost:$ESPRESSO_SEQUENCER1_API_PORT
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT, http://localhost:$ESPRESSO_SEQUENCER1_API_PORT, http://localhost:$ESPRESSO_SEQUENCER2_API_PORT
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq3
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_3
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_3
Expand All @@ -289,8 +288,6 @@ processes:
- ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=104.1954
- ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER3_API_PORT/
- ESPRESSO_SEQUENCER_L1_PROVIDER=ws://localhost:$ESPRESSO_SEQUENCER_L1_WS_PORT
- ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq3-sqlite.db
- ESPRESSO_SEQUENCER_IS_DA=true
depends_on:
orchestrator:
condition: process_healthy
Expand Down Expand Up @@ -321,8 +318,8 @@ processes:
command: sequencer-sqlite -- storage-sql -- http -- query -- catchup -- status
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER4_API_PORT
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT, http://localhost:$ESPRESSO_SEQUENCER1_API_PORT, http://localhost:$ESPRESSO_SEQUENCER2_API_PORT
- ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT, http://localhost:$ESPRESSO_SEQUENCER1_API_PORT
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_STORAGE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq4
- ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_4
- ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_4
Expand Down Expand Up @@ -364,106 +361,6 @@ processes:
exit_on_skipped: true
restart: exit_on_failure


# sequencer5:
# command: sequencer-sqlite -- storage-sql -- http -- query -- catchup -- status -- submit -- config
# environment:
# - ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER5_API_PORT
# - ESPRESSO_SEQUENCER_LIBP2P_BIND_ADDRESS=0.0.0.0:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_5
# - ESPRESSO_SEQUENCER_LIBP2P_ADVERTISE_ADDRESS=localhost:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_5
# - ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq5-sqlite.db
# - ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_5
# - ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_5
# - ESPRESSO_SEQUENCER_IS_DA=true
# - ESPRESSO_SEQUENCER_IDENTITY_NODE_NAME=sequencer5
# - ESPRESSO_SEQUENCER_IDENTITY_WALLET_ADDRESS=0x0000000000000000000000000000000000000000
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_NAME=Espresso Systems
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_WEBSITE=https://www.espressosys.com/
# - ESPRESSO_SEQUENCER_IDENTITY_OPERATING_SYSTEM=Linux 5.15.153.1
# - ESPRESSO_SEQUENCER_IDENTITY_NETWORK_TYPE=local
# - ESPRESSO_SEQUENCER_IDENTITY_COUNTRY_CODE=US
# - ESPRESSO_SEQUENCER_IDENTITY_LATITUDE=40.7128
# - ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=-74.0060
# - ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER5_API_PORT/
# - ESPRESSO_SEQUENCER_DATABASE_MAX_CONNECTIONS=3
# depends_on:
# orchestrator:
# condition: process_healthy
# demo-l1-network:
# condition: process_healthy
# state-relay-server:
# condition: process_healthy
# broker_0:
# condition: process_healthy
# broker_1:
# condition: process_healthy
# marshal_0:
# condition: process_healthy
# deploy-sequencer-contracts:
# condition: process_completed
# availability:
# exit_on_skipped: true

# readiness_probe:
# http_get:
# scheme: http
# host: localhost
# port: $ESPRESSO_SEQUENCER5_API_PORT
# path: /healthcheck
# failure_threshold: 100

# sequencer6:
# command: sequencer-sqlite -- storage-sql -- http -- query -- catchup -- status -- state -- explorer
# environment:
# - ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER6_API_PORT
# - ESPRESSO_SEQUENCER_LIBP2P_BIND_ADDRESS=0.0.0.0:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_6
# - ESPRESSO_SEQUENCER_LIBP2P_ADVERTISE_ADDRESS=localhost:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_6
# - ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq6-sqlite.db
# - ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_6
# - ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_6
# - ESPRESSO_SEQUENCER_IS_DA=true
# - ESPRESSO_SEQUENCER_IDENTITY_NODE_NAME=sequencer6
# - ESPRESSO_SEQUENCER_IDENTITY_WALLET_ADDRESS=0x0000000000000000000000000000000000000001
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_NAME=Espresso Systems
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_WEBSITE=https://www.espressosys.com/
# - ESPRESSO_SEQUENCER_IDENTITY_OPERATING_SYSTEM=Darwin 23.5.0
# - ESPRESSO_SEQUENCER_IDENTITY_NETWORK_TYPE=local
# - ESPRESSO_SEQUENCER_IDENTITY_COUNTRY_CODE=GR
# - ESPRESSO_SEQUENCER_IDENTITY_LATITUDE=39.0742
# - ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=21.8243
# - ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER6_API_PORT/
# - ESPRESSO_SEQUENCER_L1_PROVIDER=ws://localhost:$ESPRESSO_SEQUENCER_L1_WS_PORT
# - ESPRESSO_SEQUENCER_DATABASE_MAX_CONNECTIONS=3
# depends_on:
# orchestrator:
# condition: process_healthy
# demo-l1-network:
# condition: process_healthy
# state-relay-server:
# condition: process_healthy
# broker_0:
# condition: process_healthy
# broker_1:
# condition: process_healthy
# marshal_0:
# condition: process_healthy
# deploy-sequencer-contracts:
# condition: process_completed
# readiness_probe:
# http_get:
# scheme: http
# host: localhost
# port: $ESPRESSO_SEQUENCER6_API_PORT
# path: /healthcheck
# failure_threshold: 100
# availability:
# exit_on_skipped: true


node_validator:
command: RUST_LOG=debug node-metrics --
environment:
Expand Down

0 comments on commit 80c8637

Please sign in to comment.