I want to query Toshi's(https://github.com/coinbase/toshi) database but can't figure it out how to connect to it. It seems like it runs inside a docker container. Appreciate any help.
1 Answer
docker exec -it toshi_db_1 psql -U postgres -d toshi_development
Got the answer on a github issue https://github.com/coinbase/toshi/issues/198
http://<docker container IP>/api/v0/blocks
?sudo -i -u postgres
user I see only default DBs postrgres, template0, template1