diff --git a/test/permissionless-docker-compose.yml b/test/permissionless-docker-compose.yml deleted file mode 100644 index 2754ccc..0000000 --- a/test/permissionless-docker-compose.yml +++ /dev/null @@ -1,135 +0,0 @@ -version: "3.5" -networks: - default: - name: zkevm -services: - - zkevm-aggregator: - container_name: zkevm-aggregator - image: ghcr.io/espressosystems/zkevm-node:hotshot-integration - ports: - - 50081:50081 - - 9093:9091 # needed if metrics enabled - environment: - - ZKEVM_NODE_STATEDB_USER=state_user - - ZKEVM_NODE_STATEDB_PASSWORD=state_password - - ZKEVM_NODE_STATEDB_NAME=state_db - - ZKEVM_NODE_STATEDB_HOST=zkevm-state-db - volumes: - - ./test.keystore:/pk/keystore - - ./config/test.node.config.toml:/app/config.toml - - ./config/test.genesis.config.json:/app/genesis.json - command: - - "/bin/sh" - - "-c" - - "/app/zkevm-node run --genesis /app/genesis.json --cfg /app/config.toml --components aggregator" - depends_on: - - zkevm-permissionless-node - - zkevm-state-db: - container_name: zkevm-state-db - image: postgres - deploy: - resources: - limits: - memory: 2G - reservations: - memory: 1G - ports: - - 5432:5432 - volumes: - - ../db/scripts/init_prover_db.sql:/docker-entrypoint-initdb.d/init.sql - environment: - - POSTGRES_USER=state_user - - POSTGRES_PASSWORD=state_password - - POSTGRES_DB=state_db - command: ["postgres", "-N", "500"] - healthcheck: - test: ["CMD-SHELL", "pg_isready"] - interval: 10s - timeout: 5s - retries: 5 - - zkevm-pool-db: - container_name: zkevm-pool-db - image: postgres - deploy: - resources: - limits: - memory: 2G - reservations: - memory: 1G - ports: - - 5433:5432 - environment: - - POSTGRES_USER=pool_user - - POSTGRES_PASSWORD=pool_password - - POSTGRES_DB=pool_db - command: ["postgres", "-N", "500"] - healthcheck: - test: ["CMD-SHELL", "pg_isready"] - interval: 10s - timeout: 5s - retries: 5 - - zkevm-mock-l1-network: - container_name: zkevm-mock-l1-network - image: ghcr.io/espressosystems/geth-zkevm-contracts:hotshot-integration - ports: - - 8545:8545 - - 8546:8546 - command: ["--http", "--http.api", "admin,eth,debug,miner,net,txpool,personal,web3", "--http.addr", "0.0.0.0","--http.corsdomain", "*", "--http.vhosts" ,"*", "--ws", "--ws.origins", "*", "--ws.addr", "0.0.0.0", "--dev", "--datadir", "/geth_data", "--syncmode", "full"] - - zkevm-prover: - container_name: zkevm-prover - image: hermeznetwork/zkevm-prover@sha256:ca123e5d23b38ac27c4b32c3a6c92ee7c988beb2f2405369e7065b0d63601245 - ports: - # - 50051:50051 # Prover - - 50052:50052 # Mock prover - - 50061:50061 # MT - - 50071:50071 # Executor - volumes: - - ./config/test.prover.config.json:/usr/src/app/config.json - command: > - zkProver -c /usr/src/app/config.json - depends_on: - - zkevm-permissionless-node - - zkevm-permissionless-node: - container_name: zkevm-permissionless-node - image: ghcr.io/espressosystems/zkevm-node:hotshot-integration - ports: - - 8126:8126 - environment: - - ZKEVM_NODE_TRUSTED=false - - ZKEVM_NODE_STATEDB_USER=state_user - - ZKEVM_NODE_STATEDB_PASSWORD=state_password - - ZKEVM_NODE_STATEDB_NAME=state_db - - ZKEVM_NODE_STATEDB_HOST=zkevm-state-db - - ZKEVM_NODE_POOL_USER=pool_user - - ZKEVM_NODE_POOL_PASSWORD=pool_password - - ZKEVM_NODE_POOL_NAME=pool_db - - ZKEVM_NODE_POOL_HOST=zkevm-pool-db - - ZKEVM_NODE_RPC_PORT=8126 - - ZKEVM_NODE_RPC_SEQUENCERNODEURI=http://hermez-adaptor:$ESPRESSO_ZKEVM_ADAPTOR_PORT - volumes: - - ./test.keystore:/pk/keystore - - ./config/test.node.config.toml:/app/config.toml - - ./config/test.genesis.config.json:/app/genesis.json - command: - - "/bin/sh" - - "-c" - - "/app/zkevm-node run --genesis /app/genesis.json --cfg /app/config.toml --components \"rpc,synchronizer\"" - depends_on: - zkevm-mock-l1-network: - condition: service_started - zkevm-state-db: - condition: service_healthy - zkevm-pool-db: - condition: service_healthy - healthcheck: - # curl not installed in container, but wget is - test: "wget http://localhost:8126 -q --spider --tries 1 || exit 1" - interval: 2s - timeout: 1s - retries: 5