forked from cerc-io/ipld-eth-server
fc0d7a6dd6
* cerc refactor waiting on unpublished dependencies * cerc refactor updates for dependencies * Describe imports got removed * cleaning up more vulcanize refs in ci/cd * another test lost Describe imports * another test lost Describe imports... not caught in go build -a??? * more cerc-io migrations to utilize new git.vdb.to gitea instance * switching back to github for running unit test * first try at git.vdb.to as conatiner repository * targeted tag was incomplete
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
version: '3.2'
|
|
|
|
services:
|
|
migrations:
|
|
restart: on-failure
|
|
depends_on:
|
|
- ipld-eth-db
|
|
image: git.vdb.to/cerc-io/ipld-eth-db/ipld-eth-db:v4.2.1-alpha-unstable
|
|
environment:
|
|
DATABASE_USER: "vdbm"
|
|
DATABASE_NAME: "vulcanize_testing"
|
|
DATABASE_PASSWORD: "password"
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
DATABASE_PORT: 5432
|
|
|
|
ipld-eth-db:
|
|
image: timescale/timescaledb:latest-pg14
|
|
restart: always
|
|
command: ["postgres", "-c", "log_statement=all"]
|
|
environment:
|
|
POSTGRES_USER: "vdbm"
|
|
POSTGRES_DB: "vulcanize_testing"
|
|
POSTGRES_PASSWORD: "password"
|
|
ports:
|
|
- "127.0.0.1:8077:5432"
|
|
|
|
eth-server:
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- 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"
|
|
DATABASE_NAME: "vulcanize_testing"
|
|
DATABASE_HOSTNAME: "ipld-eth-db"
|
|
DATABASE_PORT: 5432
|
|
DATABASE_USER: "vdbm"
|
|
DATABASE_PASSWORD: "password"
|
|
ETH_CHAIN_ID: 4
|
|
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: ./chain.json
|
|
target: /tmp/chain.json
|
|
ports:
|
|
- "127.0.0.1:8081:8081"
|
|
|
|
volumes:
|
|
vdb_db_eth_server:
|