Skip to content

Latest commit

 

History

History

docker-queue-db

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Postgres Container

Spins up a Postgres instance containing 2 databases, one for the query service and one for the report service.

Environment

Base Image Requirements

POSTGRES_ROOT_USER

Postgres root user username.

POSTGRES_ROOT_PASS

Postgres root user password.

MBlast Specifics

QUERY_SERVICE_PG_USER

Username for the postgres user that will be used by the query service to access its own database in the postgres instance.

QUERY_SERVICE_PG_PASS

Password for the postgres user that will be used by the query service to access its won database in the postgres instance.

QUERY_SERVICE_PG_DB_NAME

Name of the postgres database that will be used by the query service.

REPORT_SERVICE_PG_USER

Username for the postgres user that will be used by the report service to access its own database in the postgres instance.

REPORT_SERVICE_PG_PASS

Password for the postgres user that will be used by the report service to access its own database in the postgres instance.

REPORT_SERVICE_PG_DB_NAME

Name of the postgres database that will be used by the report service.

Example .env

.env
POSTGRES_ROOT_USER=rootuser
POSTGRES_ROOT_PASS=rootpass

QUERY_SERVICE_PG_USER=queryuser
QUERY_SERVICE_PG_PASS=querypass
QUERY_SERVICE_PG_DB_NAME=querydb

REPORT_SERVICE_PG_USER=reportuser
REPORT_SERVICE_PG_PASS=reportpass
REPORT_SERVICE_PG_DB_NAME=reportdb