...
docker run --name postgres_tmp \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=mysecretpassword \
--network=host \
-d postgres \
-c 'max_prepared_transactions=100' \
-c 'port=5432'
The next thing is to change db's host in config file, you can do its with:
sed -i 's/some-postgres/localhost/g' example/config.docker
Then you can just run irohad
command.
...