Update ipld-eth-db build configuration in docker-compose file

This commit is contained in:
Prathamesh Musale 2022-04-26 11:03:13 +05:30
parent 8551aaee81
commit 9db8c59144
2 changed files with 7 additions and 4 deletions

View File

@ -3,10 +3,13 @@ version: "3.2"
services: services:
ipld-eth-db: ipld-eth-db:
restart: always restart: always
image: vulcanize/ipld-eth-db:v3.2.0 # image: vulcanize/ipld-eth-db:v3.2.0
build:
context: https://github.com/vulcanize/ipld-eth-db.git#sharding
dockerfile: Dockerfile
environment: environment:
POSTGRES_USER: "vdbm" POSTGRES_USER: "vdbm"
POSTGRES_DB: "vulcanize_testing_v3" POSTGRES_DB: "vulcanize_testing_v4"
POSTGRES_PASSWORD: "password" POSTGRES_PASSWORD: "password"
volumes: volumes:
- geth_node:/var/lib/postgresql/data - geth_node:/var/lib/postgresql/data

View File

@ -50,8 +50,8 @@ var DefaultConfig = Config{
Hostname: "localhost", Hostname: "localhost",
Port: 5432, Port: 5432,
DatabaseName: "vulcanize_testing_v4", DatabaseName: "vulcanize_testing_v4",
Username: "postgres", Username: "vdbm",
Password: "", Password: "password",
} }
// Config holds params for a Postgres db // Config holds params for a Postgres db