2022-08-15 12:22:47 +00:00
|
|
|
version: "3.2"
|
2022-08-14 04:30:12 +00:00
|
|
|
services:
|
|
|
|
ipld-eth-server:
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
ipld-eth-db:
|
|
|
|
condition: service_healthy
|
2022-08-23 22:02:38 +00:00
|
|
|
image: cerc/ipld-eth-server:local
|
2022-08-14 04:30:12 +00:00
|
|
|
environment:
|
|
|
|
IPLD_SERVER_GRAPHQL: "true"
|
|
|
|
IPLD_POSTGRAPHILEPATH: http://graphql:5000
|
|
|
|
ETH_SERVER_HTTPPATH: 0.0.0.0:8081
|
|
|
|
ETH_SERVER_GRAPHQL: "true"
|
|
|
|
ETH_SERVER_GRAPHQLPATH: 0.0.0.0:8082
|
|
|
|
VDB_COMMAND: "serve"
|
|
|
|
ETH_CHAIN_CONFIG: "/tmp/chain.json"
|
2022-08-23 22:02:38 +00:00
|
|
|
DATABASE_NAME: cerc_testing
|
2022-08-14 04:30:12 +00:00
|
|
|
DATABASE_HOSTNAME: ipld-eth-db
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
DATABASE_USER: "vdbm"
|
|
|
|
DATABASE_PASSWORD: "password"
|
|
|
|
ETH_CHAIN_ID: 99
|
|
|
|
ETH_FORWARD_ETH_CALLS: $eth_forward_eth_calls
|
|
|
|
ETH_PROXY_ON_ERROR: $eth_proxy_on_error
|
|
|
|
ETH_HTTP_PATH: $eth_http_path
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
2022-08-21 23:25:55 +00:00
|
|
|
source: ../config/ipld-eth-server/chain.json
|
2022-08-14 04:30:12 +00:00
|
|
|
target: /tmp/chain.json
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8081:8081"
|
|
|
|
- "127.0.0.1:8082:8082"
|
|
|
|
|
|
|
|
graphql:
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
ipld-eth-db:
|
|
|
|
condition: service_healthy
|
2022-08-25 03:42:36 +00:00
|
|
|
image: vulcanize/postgraphile:v1.0.1
|
2022-08-14 04:30:12 +00:00
|
|
|
environment:
|
|
|
|
PG_HOST: ipld-eth-db
|
|
|
|
PG_PORT: 5432
|
2022-08-23 22:02:38 +00:00
|
|
|
PG_DATABASE: cerc_testing
|
2022-08-14 04:30:12 +00:00
|
|
|
PG_USER: vdbm
|
|
|
|
PG_PASSWORD: password
|
|
|
|
SCHEMA: public,eth
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5000:5000"
|