2018-09-11 14:11:24 +03:00
|
|
|
Deploying Hasura GraphQL Engine
|
|
|
|
===============================
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
.. contents:: Table of contents
|
|
|
|
:backlinks: none
|
|
|
|
:depth: 1
|
|
|
|
:local:
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
.. note::
|
|
|
|
This section talks in depth about deploying the Hasura GraphQL engine for a **production like environment**.
|
|
|
|
If you would simply like to take the Hasura GraphQL engine for a quick spin, choose from our
|
|
|
|
:doc:`Getting started guides <../getting-started/index>`.
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
Deployment guides
|
|
|
|
-----------------
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
The Hasura GraphQL engine is a binary that is shipped as a Docker container.
|
|
|
|
|
|
|
|
Choose from the following guides to deploy the Hasura GraphQL engine and connect it to a Postgres database:
|
|
|
|
|
|
|
|
- :doc:`Deploy using Heroku <heroku/index>`
|
|
|
|
- :doc:`Deploy using Docker <docker/index>`
|
|
|
|
- :doc:`Deploy using Kubernetes <kubernetes/index>`
|
|
|
|
|
2018-10-11 14:29:53 +03:00
|
|
|
You can also check :doc:`../guides/deployment/index` for more specific examples.
|
2018-10-09 17:08:54 +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
|
|
|
|
to configure Hasura GraphQL engine for your production environment:
|
|
|
|
|
|
|
|
- :doc:`securing-graphql-endpoint`
|
|
|
|
- :doc:`postgres-permissions`
|
|
|
|
- :doc:`GraphQL engine server configuration <graphql-engine-flags/index>`
|
|
|
|
|
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
|
|
|
|
2018-10-11 14:29:53 +03:00
|
|
|
- :doc:`Logging <logging>`
|
2018-10-10 17:21:43 +03:00
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
:titlesonly:
|
|
|
|
:hidden:
|
|
|
|
|
|
|
|
Using Heroku <heroku/index>
|
|
|
|
Using Docker <docker/index>
|
|
|
|
Using Kubernetes <kubernetes/index>
|
2019-03-06 11:58:04 +03:00
|
|
|
Server configuration <graphql-engine-flags/index>
|
|
|
|
Server logs <logging>
|
2018-09-11 14:11:24 +03:00
|
|
|
securing-graphql-endpoint
|
2019-05-16 09:13:25 +03:00
|
|
|
allow-list
|
2018-09-11 14:11:24 +03:00
|
|
|
postgres-permissions
|
|
|
|
Updating GraphQL engine <updating>
|