سؤال

Hi I am setting up Hasura, the normal setup looks like this:

docker run -d --net=host \
-e HASURA_GRAPHQL_DATABASE_URL=postgres://username:password@hostname:port/dbname \
-e HASURA_GRAPHQL_ENABLE_CONSOLE=true \
hasura/graphql-engine:latest

I couldn't find in the docs a way to use multiple databases within the same instance, is it even possible?

هل كانت مفيدة؟

المحلول

Nope, It's not supported at the moment. You would have to create as many Hasura instances as the number of databases you have. Then use one as the main endpoint and add the others as remote schemas.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى dba.stackexchange
scroll top