mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-10-31 23:55:18 +01:00
77 lines
1.7 KiB
YAML
77 lines
1.7 KiB
YAML
version: '2.1'
|
|
|
|
# Run: docker-compose --project-name=ocean up
|
|
|
|
services:
|
|
mongodb:
|
|
image: mongo:3.6
|
|
ports:
|
|
- "27017:27017"
|
|
command: mongod
|
|
networks:
|
|
- backend
|
|
|
|
keeper-contracts:
|
|
image: oceanprotocol/keeper-contracts:${OCEAN_VERSION:-stable}
|
|
ports:
|
|
- 8545:8545
|
|
networks:
|
|
- backend
|
|
environment:
|
|
LOCAL_CONTRACTS: "true"
|
|
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
|
|
DATABASE_PATH: "/ganache-db"
|
|
REUSE_DATABASE: ${REUSE_DATABASE}
|
|
NETWORK_NAME: ${KEEPER_NETWORK_NAME}
|
|
volumes:
|
|
- ${ARTIFACTS_FOLDER}:/keeper-contracts/artifacts/
|
|
- ${GANACHE_DATABASE_PATH}/ganache-db:/ganache-db
|
|
|
|
aquarius:
|
|
image: oceanprotocol/aquarius:${OCEAN_VERSION:-stable}
|
|
ports:
|
|
- 5000:5000
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
- keeper-contracts
|
|
environment:
|
|
KEEPER_URL: http://keeper-contracts:8545
|
|
DB_HOSTNAME: mongodb
|
|
LOCAL_CONTRACTS: "true"
|
|
volumes:
|
|
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
|
|
|
brizo:
|
|
image: oceanprotocol/brizo:${OCEAN_VERSION:-stable}
|
|
ports:
|
|
- 8030:8030
|
|
networks:
|
|
- backend
|
|
depends_on:
|
|
- keeper-contracts
|
|
environment:
|
|
KEEPER_URL: http://keeper-contracts:8545
|
|
LOCAL_CONTRACTS: "true"
|
|
volumes:
|
|
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
|
|
|
pleuston:
|
|
image: oceanprotocol/pleuston:${OCEAN_VERSION:-stable}
|
|
ports:
|
|
- 3000:3000
|
|
depends_on:
|
|
- keeper-contracts
|
|
environment:
|
|
NODE_HOST: keeper-contracts
|
|
AQUARIUS_HOST: aquarius
|
|
BRIZO_HOST: brizo
|
|
LOCAL_CONTRACTS: 'true'
|
|
volumes:
|
|
- ${ARTIFACTS_FOLDER}:/pleuston/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro
|
|
|
|
networks:
|
|
backend:
|
|
|
|
|