Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 10.8 KB

schematic.md

File metadata and controls

34 lines (31 loc) · 10.8 KB

Docker Compose visualization. Note that some fields like Ports, Volumes, and Environment might contain long values that may not fit neatly in a table cell.

Service Name Image Ports Volumes Environment
grafana grafana/grafana-oss 3000:3000 ./config/grafana/datasources.yml:/etc/grafana/provisioning/datasources/default.yml:ro,
./config/grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/default.yml:ro,
./config/grafana/dashboard-dockers.json:/etc/grafana/provisioning/dashboards/dashboard-dockers.json:ro,
./config/grafana/dashboard-node.json:/etc/grafana/provisioning/dashboards/dashboard-node.json:ro
GF_SECURITY_ADMIN_USER=supernets2,
GF_SECURITY_ADMIN_PASSWORD=supernets2
telegraf telegraf N/A ./config/telegraf.conf:/etc/telegraf/telegraf.conf:ro,
/var/run/docker.sock:/var/run/docker.sock:ro
POSTGRES_HOST=grafana-db,
POSTGRES_USER=user,
POSTGRES_PASSWORD=password,
POSTGRES_DB=grafana
grafana-db postgres 5432 N/A POSTGRES_USER=user,
POSTGRES_PASSWORD=password,
POSTGRES_DB=grafana
supernets2-sequencer supernets2-node 9092:9091,
6060:6060
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db,
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-pool-db
supernets2-sequence-sender supernets2-node N/A ./sequencer.keystore:/pk/sequencer.keystore,
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db,
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-pool-db,
SUPERNETS2_NODE_SEQUENCER_SENDER_ADDRESS=0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
supernets2-json-rpc supernets2-node 8123:8123,
8133:8133,
9091:9091
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db,
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-pool-db
supernets2-aggregator supernets2-node 50081:50081,
9093:9091
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db,
SUPERNETS2_NODE_AGGREGATOR_SENDER_ADDRESS=0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
supernets2-sync supernets2-node N/A ./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db
supernets2-eth-tx-manager supernets2-node 9094:9091 ./sequencer.keystore:/pk/sequencer.keystore,
./aggregator.keystore:/pk/aggregator.keystore,
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db
supernets2-l2gaspricer supernets2-node N/A ./test.keystore:/pk/keystore,
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-pool-db
supernets2-state-db postgres 5432 ../db/scripts/init_prover_db.sql:/docker-entrypoint-initdb.d/init.sql POSTGRES_USER=state_user,
POSTGRES_PASSWORD=state_password,
POSTGRES_DB=state_db
supernets2-pool-db postgres 5433 N/A POSTGRES_USER=pool_user,
POSTGRES_PASSWORD=pool_password,
POSTGRES_DB=pool_db
supernets2-event-db postgres 5437 ../db/scripts/init_event_db.sql:/docker-entrypoint-initdb.d/init.sql POSTGRES_USER=event_user,
POSTGRES_PASSWORD=event_password,
POSTGRES_DB=event_db
supernets2-explorer-l1 hermeznetwork/zkevm-explorer:latest 4000 NETWORK=ETH,
SUBNETWORK=Local Ethereum,
COIN=ETH,
ETHEREUM_JSONRPC_VARIANT=geth,
ETHEREUM_JSONRPC_HTTP_URL=http://supernets2-mock-l1-network:8545,
DATABASE_URL=postgres://l1_explorer_user:l1_explorer_password@supernets2-explorer-l1-db:5438/l1_explorer_db,
ECTO_USE_SSL=false,
MIX_ENV=prod
supernets2-explorer-l1-db postgres 5438 POSTGRES_USER=l1_explorer_user,
POSTGRES_PASSWORD=l1_explorer_password,
POSTGRES_DB=l1_explorer_db
supernets2-explorer-json-rpc supernets2-node 8124:8124,
8134:8134
./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db,
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-pool-db,
ETHEREUM_JSONRPC_VARIANT=geth
supernets2-explorer-l2 hermeznetwork/zkevm-explorer:latest 4001 NETWORK=ETH,
SUBNETWORK=Hermez,
COIN=HEZ,
ETHEREUM_JSONRPC_VARIANT=geth,
ETHEREUM_JSONRPC_HTTP_URL=http://supernets2-explorer-json-rpc:8124,
DATABASE_URL=postgres://l2_explorer_user:l2_explorer_password@supernets2-explorer-l2-db:5436/l2_explorer_db,
ECTO_USE_SSL=false,
MIX_ENV=prod
supernets2-explorer-l2-db postgres 5436 POSTGRES_USER=l2_explorer_user,
POSTGRES_PASSWORD=l2_explorer_password,
POSTGRES_DB=l2_explorer_db
supernets2-mock-l1-network hermeznetwork/geth-supernets2-contracts:v0.0.1 8545:8545,
8546:8546
../test/genesis_supernets2.json:/geth/datadir/genesis_supernets2.json,
../test/geth:/geth,
../test/datadir:/geth/datadir
N/A
supernets2-permissionless-db postgres 5434 ../db/scripts/init_permissionless_db.sql:/docker-entrypoint-initdb.d/init.sql POSTGRES_USER=permissionless_user,
POSTGRES_PASSWORD=permissionless_password,
POSTGRES_DB=permissionless_db
supernets2-permissionless-node supernets2-node 8126:8126 ./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-permissionless-db
supernets2-permissionless-prover hermeznetwork/zkevm-prover:v1.1.3-RC2-fork.4 50059:50059,
50068:50068,
50078:50078
N/A N/A
zkprover-mock hermeznetwork/zkevm-prover:v1.1.3-RC2-fork.4 43061:43061,
43071:43071
../zkevm-prover/tests:
/app/prover/tests
N/A
supernets2-approve supernets2-node N/A ./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_STATEDB_HOST=supernets2-state-db
supernets2-permissionless-node-forced-DAC supernets2-node 8126:8126 ./config/test.node.config.toml:/app/config.toml,
./config/test.genesis.config.json:/app/genesis.json
SUPERNETS2_NODE_POOL_DB_HOST=supernets2-permissionless-db,
SUPERNETS2_NODE_FORCE_DAC=true
supernets2-metrics prom/prometheus:v2.39.1 9090:9090 ./config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro,
./config/prometheus/alert.rules:/etc/prometheus/alert.rules:ro,
./config/prometheus/telegram_api_key.txt:/etc/prometheus/telegram_api_key.txt:ro
N/A
supernets2-data-availability-db postgres 5444 ../db/scripts/init_availability_db.sql:/docker-entrypoint-initdb.d/init.sql POSTGRES_USER=availability_user,
POSTGRES_PASSWORD=availability_password,
POSTGRES_DB=availability_db

Please note that in the actual Docker Compose file, each value would be a complete path or URL for volumes, environment variables, and other fields. The shortened values in the table above are only for demonstration purposes.