Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 875 Bytes

postgres-wallet.md

File metadata and controls

18 lines (14 loc) · 875 Bytes

VCX Agency with PostgreSQL wallet

In order for things to work, you will have to compile

  • IndySDK postgresql wallet plugin and make sure it's in your system's library directory (/usr/local/lib for Mac, /usr/lib for Linux).
  • Adjust agency configuration. Here is sample agency pgsql configuration. Note that it's important to use MultiWalletSingleTableSharedPool pgsql storage strategy, otherwise, at current implementation the postgres DB will easily get overloaded with too many connections.
  • You can run PostgreSQL in docker like this:
docker run -d --name postgres-agency \
           -v pgdata-agency:/var/lib/postgresql/data \
           -e POSTGRES_PASSWORD=mysecretpassword \
           -p 5432:5432 postgres:12.1