2020-09-09 18:25:24 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
ocean-contracts:
|
2020-10-27 12:13:59 +01:00
|
|
|
image: oceanprotocol/ocean-contracts:${CONTRACTS_VERSION:-latest}
|
2020-09-09 18:25:24 +02:00
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.14
|
|
|
|
environment:
|
|
|
|
MNEMONIC: ${GANACHE_MNEMONIC}
|
|
|
|
OWNER_ROLE_ADDRESS: ${CONTRACTS_OWNER_ROLE_ADDRESS}
|
2020-09-11 08:25:55 +02:00
|
|
|
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
|
|
|
|
LOCAL_CONTRACTS: ${DEPLOY_CONTRACTS}
|
2020-09-09 18:25:24 +02:00
|
|
|
REUSE_DATABASE: ${GANACHE_REUSE_DATABASE}
|
|
|
|
DATABASE_PATH: "/ganache-db"
|
|
|
|
NETWORK_NAME: ${CONTRACTS_NETWORK_NAME}
|
2020-09-11 08:25:55 +02:00
|
|
|
NETWORK_RPC_HOST: ${NETWORK_RPC_HOST}
|
|
|
|
NETWORK_RPC_PORT: ${NETWORK_RPC_PORT}
|
|
|
|
NETWORK_RPC_URL: ${NETWORK_RPC_URL}
|
2020-09-09 18:25:24 +02:00
|
|
|
LOCAL_USER_ID: ${LOCAL_USER_ID}
|
|
|
|
LOCAL_GROUP_ID: ${LOCAL_GROUP_ID}
|
2021-10-19 08:24:00 +02:00
|
|
|
ADDRESS_FILE: /ocean-contracts/addresses/address.json
|
2020-09-09 18:25:24 +02:00
|
|
|
depends_on:
|
|
|
|
- ganache
|
|
|
|
volumes:
|
|
|
|
- ${OCEAN_ARTIFACTS_FOLDER}:/ocean-contracts/artifacts/
|