2020-01-14 15:57:45 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Server configuration for Hasura GraphQL engine
|
|
|
|
:keywords: hasura, docs, deployment, flags, server, server configuration
|
|
|
|
|
2019-10-23 12:23:41 +03:00
|
|
|
.. _hge_flags:
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
GraphQL engine server configuration
|
|
|
|
===================================
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
.. contents:: Table of contents
|
|
|
|
:backlinks: none
|
|
|
|
:depth: 1
|
|
|
|
:local:
|
|
|
|
|
2020-08-25 14:53:25 +03:00
|
|
|
Introduction
|
|
|
|
------------
|
|
|
|
|
2021-04-06 20:04:53 +03:00
|
|
|
Hasura supports various flags/env vars for customizing how you are running the GraphQL engine in your environment.
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2021-04-06 20:04:53 +03:00
|
|
|
Server config
|
|
|
|
-------------
|
2018-12-03 15:12:24 +03:00
|
|
|
|
2021-04-06 20:04:53 +03:00
|
|
|
See the :ref:`server config reference <server_flag_reference>` for all the available flags/env vars.
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
Use cases
|
|
|
|
---------
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
The following are a few configuration use cases:
|
|
|
|
|
2019-02-14 12:37:47 +03:00
|
|
|
- :ref:`add-admin-secret`
|
|
|
|
- :ref:`cli-with-admin-secret`
|
2018-09-11 14:11:24 +03:00
|
|
|
- :ref:`configure-cors`
|
2019-05-16 10:45:29 +03:00
|
|
|
- :ref:`console-assets-on-server`
|
2020-05-19 10:55:59 +03:00
|
|
|
- :ref:`dev-mode`
|
2021-03-09 16:29:37 +03:00
|
|
|
- :ref:`add-metadata-database`
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
|
2021-04-06 20:04:53 +03:00
|
|
|
Server config reference <reference>
|
2018-09-11 14:11:24 +03:00
|
|
|
Server config examples <config-examples>
|