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