Skip to content

Commit

Permalink
fix table in server flag docs (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikinsk authored and shahidhk committed Nov 29, 2018
1 parent 96e63d1 commit a024f2a
Showing 1 changed file with 25 additions and 19 deletions.
44 changes: 25 additions & 19 deletions docs/graphql/manual/deployment/graphql-engine-flags/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ For ``graphql-engine`` command these are the flags available
<postgres/postgresql>://<user>:<password>@<host>:<port>/<db-name>
Example: postgres://admin:[email protected]:5432/mydb
Or either you can specify following options
Or either you can specify following options

.. code-block:: none
--host Postgres server host
-p, --port Postgres server port
Expand Down Expand Up @@ -76,26 +78,30 @@ These are the environment variables which are available:

.. code-block:: none
HASURA_GRAPHQL_DATABASE_URL Postgres database URL
<postgres/postgresql>://<user>:<password>@<host>:<port>/<db-name>
Example: postgres://admin:[email protected]:5432/mydb
HASURA_GRAPHQL_SERVER_PORT Port on which graphql-engine should be served
HASURA_GRAPHQL_DATABASE_URL Postgres database URL
<postgres/postgresql>://<user>:<password>@<host>:
<port>/<db-name>
Example: postgres://admin:[email protected]:5432/mydb
HASURA_GRAPHQL_SERVER_PORT Port on which graphql-engine should be served
HASURA_GRAPHQL_ACCESS_KEY Secret access key, required to access this instance.
If specified client needs to send 'X-Hasura-Access-Key'
header
HASURA_GRAPHQL_ACCESS_KEY Secret access key, required to access this instance.
If specified client needs to send 'X-Hasura-Access-Key'
header
HASURA_GRAPHQL_AUTH_HOOK The authentication webhook, required to authenticate
incoming request
HASURA_GRAPHQL_AUTH_HOOK The authentication webhook, required to authenticate
incoming request
HASURA_GRAPHQL_CORS_DOMAIN The domain, including sheme and port, to allow CORS for
HASURA_GRAPHQL_CORS_DOMAIN The domain, including sheme and port, to allow CORS for
HASURA_GRAPHQL_JWT_SECRET The JSON containing type and the JWK used for
verifying. e.g: `{"type": "HS256", "key":
"<your-hmac-shared-secret>"}`,`{"type": "RS256",
"key": "<your-PEM-RSA-public-key>"}
Enable JWT mode, the value of which is a JSON
HASURA_GRAPHQL_JWT_SECRET The JSON containing type and the JWK used for
verifying. e.g: `{"type": "HS256", "key":
"<your-hmac-shared-secret>"}`,`{"type": "RS256",
"key": "<your-PEM-RSA-public-key>"}
Enable JWT mode, the value of which is a JSON
HASURA_GRAPHQL_UNAUTHORIZED_ROLE Unauthorized role, used when access-key is not sent in
access-key only mode or "Authorization" header is absent
in JWT mode
HASURA_GRAPHQL_UNAUTHORIZED_ROLE Unauthorized role, used when access-key is not sent in access-key
only mode or "Authorization" header is absent in JWT mode
HASURA_GRAPHQL_ENABLE_CONSOLE Enable API console. It is served at '/' and '/console'
HASURA_GRAPHQL_ENABLE_CONSOLE Enable API console. It is served at '/' and '/console'

0 comments on commit a024f2a

Please sign in to comment.