46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
version: '3.2'
|
|
|
|
services:
|
|
contract:
|
|
depends_on:
|
|
- dapptools
|
|
build:
|
|
context: ./test/contract
|
|
args:
|
|
ETH_ADDR: "http://dapptools:8545"
|
|
environment:
|
|
ETH_ADDR: "http://dapptools:8545"
|
|
ports:
|
|
- "127.0.0.1:3000:3000"
|
|
|
|
dapptools:
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- ipld-eth-db
|
|
image: vulcanize/dapptools:v0.30.0-v1.10.14-statediff-0.0.29
|
|
environment:
|
|
DB_USER: vdbm
|
|
DB_NAME: vulcanize_testing
|
|
DB_HOST: ipld-eth-db
|
|
DB_PORT: 5432
|
|
DB_PASSWORD: password
|
|
DB_WRITE: $DB_WRITE
|
|
ports:
|
|
- "127.0.0.1:8545:8545"
|
|
- "127.0.0.1:8546:8546"
|
|
|
|
ipld-eth-db:
|
|
restart: always
|
|
image: vulcanize/ipld-eth-db:v0.2.0
|
|
environment:
|
|
POSTGRES_USER: "vdbm"
|
|
POSTGRES_DB: "vulcanize_testing"
|
|
POSTGRES_PASSWORD: "password"
|
|
volumes:
|
|
- vdb_db_eth_validator:/var/lib/postgresql/data
|
|
ports:
|
|
- "127.0.0.1:8077:5432"
|
|
command: ["postgres", "-c", "log_statement=all"]
|
|
|
|
volumes:
|
|
vdb_db_eth_validator: |