Sign inSign up

hexlant/fill-pg

By hexlant

•Updated over 7 years ago

eos state history postgresql filler

Image
0

380

hexlant/fill-pg repository overview

Install in same host where nodeos is installed.

You should set your nodeos config.ini like below.

  • state-history-endpoint = 0.0.0.0:8080

Available environment variables

  • PGHOST : postgresql host
  • PGPORT : postgresql port
  • PGUSER : postgresql user
  • PGPASSWORD : postgresql user's password
  • PGDATABASE : posggresql database name
  • RECREATE_SCHEMA (boolean) : drop database schema and re-create base structure (same as ./fill-pg --fpg-drop --fpg-create)

Running container example

  • docker run -dt --network host --name fpg -e PGHOST=xxx.xxx.xxx.xxx -e PGPORT=5432 -e PGUSER=root -e PGPASSWORD=root -e PGDATABASE=root -e RECREATE_SCHEMA=true hexlant/fill-pg

Tag summary

Content type

Image

Digest

Size

1.3 GB

Last updated

over 7 years ago

docker pull hexlant/fill-pg