Open aminlatifi opened 4 weeks ago
@aminlatifi In order for this to happen and as we are working on the same application, you will have to define a flag for the connection URI to be different depending on the mode that the application is running in. For example:
GRAPHQL_MODE
=true
--> DB URI is graph-ql-db-uri
=URI_VALUE
JOB_MODE
=true
--> DB URI is job-db-uri
=URI_VALUE
WDYT??Also what do you mean by a different DB connection?? Do you mean a read only connection? or do you mean a connection with another user?? Or do you mean a connection to a totally different DB??
It's important to clear these points, since the implementation would be different depending on the answer
QAcc has two kind of containers, one for running background jobs and one for serving as graphql server to users. We need to support different DB connection URL for them