2018-08-10 11:52:29 +02:00
|
|
|
version: '2.1'
|
|
|
|
|
2018-08-13 14:16:15 +02:00
|
|
|
# Run: docker-compose --project-name=ocean up
|
|
|
|
|
2018-08-10 11:52:29 +02:00
|
|
|
services:
|
|
|
|
mongodb:
|
|
|
|
image: mongo:3.6
|
|
|
|
ports:
|
|
|
|
- "27017:27017"
|
|
|
|
command: mongod
|
2018-08-13 12:10:17 +02:00
|
|
|
networks:
|
|
|
|
- backend
|
2018-08-10 14:15:07 +02:00
|
|
|
|
|
|
|
keeper-contracts:
|
2018-09-10 19:43:22 +02:00
|
|
|
image: oceanprotocol/keeper-contracts:${OCEAN_VERSION:-stable}
|
2018-08-10 14:15:07 +02:00
|
|
|
ports:
|
|
|
|
- 8545:8545
|
2018-08-14 16:30:17 +02:00
|
|
|
networks:
|
2018-08-10 14:15:07 +02:00
|
|
|
- backend
|
2018-09-24 09:50:02 +02:00
|
|
|
environment:
|
2018-09-27 11:30:07 +02:00
|
|
|
LOCAL_CONTRACTS: "true"
|
|
|
|
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
|
|
|
|
DATABASE_PATH: "/ganache-db"
|
|
|
|
REUSE_DATABASE: ${REUSE_DATABASE}
|
|
|
|
NETWORK_NAME: ${KEEPER_NETWORK_NAME}
|
2018-08-10 14:15:07 +02:00
|
|
|
volumes:
|
2018-09-27 11:30:07 +02:00
|
|
|
- ${ARTIFACTS_FOLDER}:/keeper-contracts/artifacts/
|
|
|
|
- ${GANACHE_DATABASE_PATH}/ganache-db:/ganache-db
|
2018-08-10 14:15:07 +02:00
|
|
|
|
2018-10-26 09:33:05 +02:00
|
|
|
aquarius:
|
|
|
|
image: oceanprotocol/aquarius:${OCEAN_VERSION:-stable}
|
2018-08-10 11:52:29 +02:00
|
|
|
ports:
|
|
|
|
- 5000:5000
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
depends_on:
|
|
|
|
- keeper-contracts
|
2018-09-19 12:11:32 +02:00
|
|
|
environment:
|
2018-10-18 16:35:34 +02:00
|
|
|
KEEPER_URL: http://keeper-contracts:8545
|
2018-09-19 12:11:32 +02:00
|
|
|
DB_HOSTNAME: mongodb
|
2018-09-27 11:30:07 +02:00
|
|
|
LOCAL_CONTRACTS: "true"
|
2018-08-10 16:11:35 +02:00
|
|
|
volumes:
|
2018-09-27 11:30:07 +02:00
|
|
|
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
|
2018-08-10 14:15:07 +02:00
|
|
|
|
2018-08-10 13:20:16 +02:00
|
|
|
pleuston:
|
2018-09-10 19:43:22 +02:00
|
|
|
image: oceanprotocol/pleuston:${OCEAN_VERSION:-stable}
|
2018-08-10 13:20:16 +02:00
|
|
|
ports:
|
|
|
|
- 3000:3000
|
2018-08-10 14:15:07 +02:00
|
|
|
depends_on:
|
|
|
|
- keeper-contracts
|
2018-09-19 12:11:32 +02:00
|
|
|
environment:
|
|
|
|
KEEPER_HOST: keeper-contracts
|
2018-10-26 09:33:05 +02:00
|
|
|
OCEAN_HOST: aquarius
|
2018-09-24 09:50:02 +02:00
|
|
|
LOCAL_CONTRACTS: 'true'
|
2018-08-10 14:15:07 +02:00
|
|
|
volumes:
|
2018-09-27 11:30:07 +02:00
|
|
|
- ${ARTIFACTS_FOLDER}:/pleuston/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro
|
2018-08-10 11:52:29 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
backend:
|
2018-08-14 16:00:23 +02:00
|
|
|
|
2018-09-27 11:30:07 +02:00
|
|
|
|