2020-01-14 15:57:45 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Deploy Hasura GraphQL engine
|
|
|
|
:keywords: hasura, docs, deployment
|
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
.. _deployment:
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
Deploying Hasura GraphQL engine
|
2018-09-11 14:11:24 +03:00
|
|
|
===============================
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
.. contents:: Table of contents
|
|
|
|
:backlinks: none
|
|
|
|
:depth: 1
|
|
|
|
:local:
|
|
|
|
|
|
|
|
Deployment guides
|
|
|
|
-----------------
|
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
This section contains guides to deploy the Hasura GraphQL engine and connect it to a Postgres database.
|
|
|
|
|
|
|
|
If you're looking for quick deployment options, check out the following guides:
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
- :ref:`One-click deployment guides <one_click_deployment_guides>`
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
The following is a list of all deployment guides:
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
- :ref:`Deployment guides <all_deployment_guides>`
|
2018-10-09 17:08:54 +03:00
|
|
|
|
2020-05-21 10:22:18 +03:00
|
|
|
.. admonition:: Custom Docker images or binaries
|
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
If you need a custom Docker image or binary for GraphQL engine, please see :ref:`this page <custom_docker_image>`.
|
2020-05-21 10:22:18 +03:00
|
|
|
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
Configuration
|
|
|
|
-------------
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
By default, Hasura GraphQL engine runs in a very permissive mode for easier development. Check out the below pages
|
2019-09-11 10:17:14 +03:00
|
|
|
to configure the Hasura GraphQL engine for your production environment:
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`GraphQL engine server configuration <hge_flags>`
|
2020-07-23 15:34:17 +03:00
|
|
|
- :ref:`Postgres requirements <postgres_permissions>`
|
|
|
|
- :ref:`Securing the GraphQL endpoint <securing_graphql_endpoint>`
|
|
|
|
- :ref:`Enable HTTPS <enable_https>`
|
|
|
|
- :ref:`Allow-list of operations <allow_list>`
|
|
|
|
- :ref:`HTTP compression <http_compression>`
|
|
|
|
- :ref:`Updating GraphQL engine <update_hge>`
|
|
|
|
- :ref:`Downgrading GraphQL engine <downgrade_hge>`
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
Logs
|
|
|
|
----
|
|
|
|
|
2018-10-11 14:29:53 +03:00
|
|
|
For access to Hasura GraphQL engine logs, check the below page for details:
|
2018-10-10 17:21:43 +03:00
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`Logging <hge_logs>`
|
2018-10-10 17:21:43 +03:00
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
Production checklist
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
If you're moving your Hasura GraphQL engine to production, consult the following guide:
|
|
|
|
|
|
|
|
- :ref:`Production checklist <production_checklist>`
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
:titlesonly:
|
|
|
|
:hidden:
|
|
|
|
|
2020-07-23 15:34:17 +03:00
|
|
|
Deployment guides <deploying/index>
|
2019-03-06 11:58:04 +03:00
|
|
|
Server configuration <graphql-engine-flags/index>
|
2020-06-02 17:55:40 +03:00
|
|
|
postgres-requirements
|
2020-07-23 15:34:17 +03:00
|
|
|
Securing GraphQL endpoint <securing-graphql-endpoint>
|
2019-10-23 12:23:41 +03:00
|
|
|
Server logs <logging>
|
|
|
|
Enable HTTPS <enable-https>
|
2019-05-16 09:13:25 +03:00
|
|
|
allow-list
|
2019-09-19 15:54:40 +03:00
|
|
|
HTTP Compression <compression>
|
2019-10-23 12:23:41 +03:00
|
|
|
Production checklist <production-checklist>
|
2020-05-21 10:22:18 +03:00
|
|
|
Custom Docker images or binaries <custom-docker-images>
|
2020-07-23 15:34:17 +03:00
|
|
|
Updating GraphQL engine <updating-graphql-engine>
|
2019-10-17 15:02:01 +03:00
|
|
|
Downgrading GraphQL engine <downgrading>
|