1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 17:50:13 +01:00

Merge pull request #2 from oceanprotocol/feature/ocean_docker_refactoring

cleanup, networks, putting it all together
This commit is contained in:
Aitor 2018-08-13 12:13:27 +02:00 committed by GitHub
commit 6536d99693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@ services:
ports: ports:
- "27017:27017" - "27017:27017"
command: mongod command: mongod
networks:
- backend
bigchaindb: bigchaindb:
depends_on: depends_on:
@ -32,6 +34,8 @@ services:
interval: 3s interval: 3s
timeout: 5s timeout: 5s
retries: 3 retries: 3
networks:
- backend
tendermint: tendermint:
image: tendermint/tendermint:0.19.9 image: tendermint/tendermint:0.19.9
@ -42,24 +46,8 @@ services:
- "46656:46656" - "46656:46656"
- "46657:46657" - "46657:46657"
command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:46658" command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:46658"
networks:
#bdb: - backend
# 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: keeper-contracts:
image: oceanprotocol/keeper-contracts image: oceanprotocol/keeper-contracts