mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 01:37:01 +01:00
added export of artifacts to docker compose
This commit is contained in:
parent
5f5bcf201e
commit
95b95cd59a
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
.idea
|
.idea
|
||||||
|
ocean/artifacts/
|
@ -8,6 +8,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
command: mongod
|
command: mongod
|
||||||
|
|
||||||
bigchaindb:
|
bigchaindb:
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongodb
|
- mongodb
|
||||||
@ -31,6 +32,7 @@ services:
|
|||||||
interval: 3s
|
interval: 3s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
tendermint:
|
tendermint:
|
||||||
image: tendermint/tendermint:0.19.9
|
image: tendermint/tendermint:0.19.9
|
||||||
# volumes:
|
# volumes:
|
||||||
@ -40,21 +42,34 @@ 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"
|
||||||
|
|
||||||
#bdb:
|
#bdb:
|
||||||
# image: busybox
|
# image: busybox
|
||||||
# depends_on:
|
# depends_on:
|
||||||
# bigchaindb:
|
# bigchaindb:
|
||||||
# condition: service_healthy
|
# condition: service_healthy
|
||||||
# curl client to check the health of development env
|
# curl client to check the health of development env
|
||||||
|
|
||||||
curl-client:
|
curl-client:
|
||||||
image: appropriate/curl
|
image: appropriate/curl
|
||||||
command: /bin/sh -c "curl -s http://bigchaindb:9984/ > /dev/null && curl -s http://tendermint:46657/ > /dev/null"
|
command: /bin/sh -c "curl -s http://bigchaindb:9984/ > /dev/null && curl -s http://tendermint:46657/ > /dev/null"
|
||||||
|
|
||||||
vdocs:
|
vdocs:
|
||||||
image: nginx
|
image: nginx
|
||||||
ports:
|
ports:
|
||||||
- '33333:80'
|
- '33333:80'
|
||||||
volumes:
|
volumes:
|
||||||
- ../docs/server/build/html:/usr/share/nginx/html
|
- ../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:
|
provider-backend:
|
||||||
image: oceanprotocol/provider-backend
|
image: oceanprotocol/provider-backend
|
||||||
ports:
|
ports:
|
||||||
@ -63,16 +78,15 @@ services:
|
|||||||
- backend
|
- backend
|
||||||
depends_on:
|
depends_on:
|
||||||
- keeper-contracts
|
- keeper-contracts
|
||||||
keeper-contracts:
|
|
||||||
image: oceanprotocol/keeper-contracts
|
|
||||||
ports:
|
|
||||||
- 8545:8545
|
|
||||||
networks:
|
|
||||||
- backend
|
|
||||||
pleuston:
|
pleuston:
|
||||||
image: oceanprotocol/pleuston
|
image: oceanprotocol/pleuston
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
|
depends_on:
|
||||||
|
- keeper-contracts
|
||||||
|
volumes:
|
||||||
|
- ./artifacts/:/pleuston/node_modules/@oceanprotocol/keeper-contracts/build/contracts/
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
||||||
|
Loading…
Reference in New Issue
Block a user