Sign inSign up

nutthadol/tm-benchmark-api

By nutthadol

•Updated over 8 years ago

Image
0

1.1K

nutthadol/tm-benchmark-api repository overview

⁠Running API server container

TENDERMINT_IP=tm-0 TENDERMINT_PORT=46657 SERVER_PORT=8000 docker run -p 8000:8000 nutthadol/tm-benchmark-api

⁠Docker-compose config example for running benchmark

version: '3'
services:

  api-0:
    image: nutthadol/tm-benchmark-api:latest
    environment:
     - TENDERMINT_IP=tm-0
     - TENDERMINT_PORT=46657
     - SERVER_PORT=8000
    ports:
     - 8000:8000
    networks:
     - tm-benchmark
    depends_on:
     - tm-0
  tm-0:
    image: ndidplatform/tendermint:latest
    command:
      - genesis
      - --rpc.laddr=tcp://0.0.0.0:46657
      - --p2p.laddr=tcp://0.0.0.0:46656
      - --proxy_app=tcp://abci-0:46658
    ports:
      - 46657:46657
    networks:
      - tm-benchmark
    depends_on:
      - abci-0
  abci-0:
    image: nutthadol/tm-benchmark-abci:latest
    command: tcp://0.0.0.0:46658
    networks:
      - tm-benchmark


networks:
  tm-benchmark:

Tag summary

Content type

Image

Digest

Size

4.5 MB

Last updated

over 8 years ago

docker pull nutthadol/tm-benchmark-api