forked from cerc-io/stack-orchestrator
Roy Crihfield
dc7bc6af31
* forward more vars for debugging forward CERC_GETH_VERBOSITY forward CERC_STATEDIFF_DB_LOG_STATEMENTS forward CERC_REMOTE_DEBUG * fix env var * remote flag can be set from env
45 lines
1.2 KiB
YAML
45 lines
1.2 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:
|
|
SERVER_HTTP_PATH: 0.0.0.0:8081
|
|
SERVER_GRAPHQL: "true"
|
|
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: "false"
|
|
ETH_FORWARD_GET_STORAGE_AT: "false"
|
|
ETH_PROXY_ON_ERROR: "false"
|
|
METRICS: "true"
|
|
PROM_HTTP: "true"
|
|
PROM_HTTP_ADDR: "0.0.0.0"
|
|
PROM_HTTP_PORT: "8090"
|
|
LOG_LEVEL: "debug"
|
|
CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true}
|
|
volumes:
|
|
- type: bind
|
|
source: ../config/ipld-eth-server/chain.json
|
|
target: /tmp/chain.json
|
|
ports:
|
|
- "8081"
|
|
- "8082"
|
|
- "8090"
|
|
- "40000"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-v", "localhost", "8081"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 5s
|