forked from cerc-io/stack-orchestrator
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
version: "3.2"
|
|
services:
|
|
ipld-eth-server:
|
|
restart: unless-stopped
|
|
depends_on:
|
|
ipld-eth-db:
|
|
condition: service_healthy
|
|
image: cerc/ipld-eth-server:local
|
|
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"
|
|
DATABASE_NAME: cerc_testing
|
|
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
|
|
source: ../config/ipld-eth-server/chain.json
|
|
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
|
|
image: vulcanize/postgraphile:v1.0.1
|
|
environment:
|
|
PG_HOST: ipld-eth-db
|
|
PG_PORT: 5432
|
|
PG_DATABASE: cerc_testing
|
|
PG_USER: vdbm
|
|
PG_PASSWORD: password
|
|
SCHEMA: public,eth
|
|
ports:
|
|
- "127.0.0.1:5000:5000"
|