Custom Dockerfile for Kubernetes, Why Hasura Server needs database url at startup #8775
Unanswered
bhanuchhabra7
asked this question in
General
Replies: 1 comment
-
Here are the excerpts from. Hasura's Docs: Either one of HASURA_GRAPHQL_METADATA_DATABASE_URL or HASURA_GRAPHQL_DATABASE_URL needs to be set with a Postgres database to start a Hasura v2 instance as Hasura always needs a Postgres database to store its metadata. (Ref: https://hasura.io/docs/latest/guides/upgrade-hasura-v2/#hasura-v2-config-changes) Hope, this answers your question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a custom dockerfile.yml for the Kubernetes cluster.
The dockerfile.yml looks something like this:
I get an error something like this
--metadata-database-url or --database-url option expected
The question is why Hasura needs a database at startup when I can add sources later on.
Beta Was this translation helpful? Give feedback.
All reactions