ipld-eth-server/docker-compose.yml

85 lines
2.1 KiB
YAML
Raw Normal View History

version: '3.2'
services:
dapptools:
restart: unless-stopped
2021-04-16 13:02:04 +00:00
depends_on:
2021-10-09 12:00:33 +00:00
- ipld-eth-db
2022-04-21 08:36:50 +00:00
image: vulcanize/dapptools:v0.30.0-v1.10.17-statediff-3.2.0
2021-04-16 13:02:04 +00:00
environment:
DB_USER: vdbm
2021-10-11 16:42:05 +00:00
DB_NAME: vulcanize_testing
2021-10-09 12:00:33 +00:00
DB_HOST: ipld-eth-db
2021-04-16 13:02:04 +00:00
DB_PORT: 5432
DB_PASSWORD: password
2021-12-29 20:58:55 +00:00
DB_WRITE: $DB_WRITE
2022-03-15 08:32:45 +00:00
DB_TYPE: postgres
DB_DRIVER: sqlx
ports:
- "127.0.0.1:8545:8545"
- "127.0.0.1:8546:8546"
2021-10-09 12:00:33 +00:00
ipld-eth-db:
restart: always
2022-04-21 08:36:50 +00:00
image: vulcanize/ipld-eth-db:v3.2.0
environment:
POSTGRES_USER: "vdbm"
2021-10-11 16:42:05 +00:00
POSTGRES_DB: "vulcanize_testing"
POSTGRES_PASSWORD: "password"
volumes:
- vdb_db_eth_server:/var/lib/postgresql/data
ports:
- "127.0.0.1:8077:5432"
2021-09-27 11:44:27 +00:00
command: ["postgres", "-c", "log_statement=all"]
eth-server:
restart: unless-stopped
depends_on:
2021-10-09 12:00:33 +00:00
- ipld-eth-db
build:
context: ./
cache_from:
- alpine:latest
- golang:1.13-alpine
environment:
IPLD_SERVER_GRAPHQL: "true"
IPLD_POSTGRAPHILEPATH: http://graphql:5000
ETH_SERVER_HTTPPATH: 0.0.0.0:8081
VDB_COMMAND: "serve"
ETH_CHAIN_CONFIG: "/tmp/chain.json"
2021-10-11 16:42:05 +00:00
DATABASE_NAME: "vulcanize_testing"
2021-10-09 12:00:33 +00:00
DATABASE_HOSTNAME: "ipld-eth-db"
DATABASE_PORT: 5432
DATABASE_USER: "vdbm"
DATABASE_PASSWORD: "password"
2021-04-21 11:16:47 +00:00
ETH_CHAIN_ID: 4
2021-12-29 20:58:55 +00:00
ETH_FORWARD_ETH_CALLS: $ETH_FORWARD_ETH_CALLS
ETH_PROXY_ON_ERROR: $ETH_PROXY_ON_ERROR
ETH_HTTP_PATH: $ETH_HTTP_PATH
WATCHED_ADDRESS_GAP_FILLER_ENABLED: $WATCHED_ADDRESS_GAP_FILLER_ENABLED
WATCHED_ADDRESS_GAP_FILLER_INTERVAL: $WATCHED_ADDRESS_GAP_FILLER_INTERVAL
volumes:
- type: bind
source: ./chain.json
target: /tmp/chain.json
ports:
- "127.0.0.1:8081:8081"
graphql:
restart: unless-stopped
depends_on:
2021-10-09 12:00:33 +00:00
- ipld-eth-db
2020-09-09 20:04:15 +00:00
image: vulcanize/postgraphile:v1.0.1
environment:
- PG_HOST=db
- PG_PORT=5432
- PG_DATABASE=vulcanize_public
- PG_USER=vdbm
- PG_PASSWORD=password
- SCHEMA=public,eth
ports:
- "127.0.0.1:5000:5000"
volumes:
vdb_db_eth_server: