From 95b95cd59ac96c8722065dc2ff45cbeee15d693b Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Fri, 10 Aug 2018 14:15:07 +0200 Subject: [PATCH] added export of artifacts to docker compose --- .gitignore | 3 ++- ocean/docker-compose.yml | 26 ++++++++++++++++++++------ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 723ef36..dbd8bae 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea \ No newline at end of file +.idea +ocean/artifacts/ \ No newline at end of file diff --git a/ocean/docker-compose.yml b/ocean/docker-compose.yml index 3aee03d..e325e97 100644 --- a/ocean/docker-compose.yml +++ b/ocean/docker-compose.yml @@ -8,6 +8,7 @@ services: ports: - "27017:27017" command: mongod + bigchaindb: depends_on: - mongodb @@ -31,6 +32,7 @@ services: interval: 3s timeout: 5s retries: 3 + tendermint: image: tendermint/tendermint:0.19.9 # volumes: @@ -40,21 +42,34 @@ services: - "46656:46656" - "46657:46657" command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:46658" + #bdb: # image: busybox # depends_on: # bigchaindb: # condition: service_healthy # curl client to check the health of development env + curl-client: image: appropriate/curl command: /bin/sh -c "curl -s http://bigchaindb:9984/ > /dev/null && curl -s http://tendermint:46657/ > /dev/null" + vdocs: image: nginx ports: - '33333:80' volumes: - ../docs/server/build/html:/usr/share/nginx/html + + keeper-contracts: + image: oceanprotocol/keeper-contracts + ports: + - 8545:8545 + networks: + - backend + volumes: + - ./artifacts/:/keeper-contracts/build/contracts/ + provider-backend: image: oceanprotocol/provider-backend ports: @@ -63,16 +78,15 @@ services: - backend depends_on: - keeper-contracts - keeper-contracts: - image: oceanprotocol/keeper-contracts - ports: - - 8545:8545 - networks: - - backend + pleuston: image: oceanprotocol/pleuston ports: - 3000:3000 + depends_on: + - keeper-contracts + volumes: + - ./artifacts/:/pleuston/node_modules/@oceanprotocol/keeper-contracts/build/contracts/ networks: backend: