From 429d836d7991555ab44e71d8bdefe4580bbd701b Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 19 Sep 2018 12:11:32 +0200 Subject: [PATCH] New paramenters. Removed bigchaindb --- docker-compose.yml | 45 ++++++--------------------------------------- 1 file changed, 6 insertions(+), 39 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 13a189c..62d2d94 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,45 +11,6 @@ services: networks: - backend - bigchaindb: - depends_on: - - mongodb - image: bigchaindb/bigchaindb:2.0.0-beta1 - environment: - BIGCHAINDB_DATABASE_BACKEND: localmongodb - BIGCHAINDB_DATABASE_HOST: mongodb - BIGCHAINDB_DATABASE_PORT: 27017 - BIGCHAINDB_SERVER_BIND: 0.0.0.0:9984 - BIGCHAINDB_WSSERVER_HOST: 0.0.0.0 - BIGCHAINDB_WSSERVER_ADVERTISED_HOST: bigchaindb - BIGCHAINDB_TENDERMINT_HOST: tendermint - BIGCHAINDB_TENDERMINT_PORT: 46657 - ports: - - "9984:9984" - - "9985:9985" - - "46658" - healthcheck: - test: ["CMD", "bash", "-c", "curl http://bigchaindb:9984 && curl http://tendermint:46657/abci_query"] - interval: 3s - timeout: 5s - retries: 3 - networks: - - backend - - tendermint: - depends_on: - - bigchaindb - image: tendermint/tendermint:0.19.9 - # volumes: - # - ./tmdata:/tendermint - entrypoint: '' - ports: - - "46656:46656" - - "46657:46657" - command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:46658" - networks: - - backend - keeper-contracts: image: oceanprotocol/keeper-contracts:${OCEAN_VERSION:-stable} ports: @@ -67,6 +28,9 @@ services: - backend depends_on: - keeper-contracts + environment: + KEEPER_HOST: http://keeper-contracts + DB_HOSTNAME: mongodb volumes: - artifacts:/usr/local/contracts/:ro @@ -76,6 +40,9 @@ services: - 3000:3000 depends_on: - keeper-contracts + environment: + KEEPER_HOST: keeper-contracts + OCEAN_HOST: provider volumes: - artifacts:/pleuston/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro