这是indexloc提供的服务,不要输入任何密码
Skip to content

Use env variable to define whether to show console or not #632

@valstu

Description

@valstu

I discussed about this topic earlier today on Discord. It would be nice if there would be additional env variable for whether console is visible or not.

You can currently use following env variables with graphql-engine:

  • HASURA_GRAPHQL_DATABASE_URL
  • HASURA_GRAPHQL_ACCESS_KEY
  • HASURA_GRAPHQL_AUTH_HOOK
  • HASURA_GRAPHQL_CORS_DOMAIN
  • HASURA_GRAPHQL_JWT_SECRET <-- this could be added to these docs

These env variables are logical and are pretty much the same as the cli flags mentioned on the docs. But it would be nice if there would be extra env variable for --enable-console flag as well. It could be HASURA_GRAPHQL_ENABLE_CONSOLE so it follows the logic of other env variables.

There are also few other flags which doesn't have matching env variables.

Metadata

Metadata

Assignees

Labels

c/serverRelated to servere/quickfixcan be wrapped up in few hoursk/enhancementNew feature or improve an existing featurep/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions