1
0
stack-orchestrator/app/data/compose/docker-compose-ipld-eth-server.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

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: "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"
LOGRUS_LEVEL: "debug"
CERC_REMOTE_DEBUG: "true"
2022-08-14 04:30:12 +00:00
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:
- "8081"
- "8082"
- "8090"
- "40000"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8081"]
interval: 20s
timeout: 5s
retries: 15
start_period: 5s