wired to postgres and rabbitmq