2020-01-14 15:57:45 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Update Hasura GraphQL engine with Docker deployment
|
|
|
|
:keywords: hasura, docs, deployment, docker, update
|
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
.. _docker_update:
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
Updating Hasura GraphQL engine running with Docker
|
|
|
|
==================================================
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
.. contents:: Table of contents
|
|
|
|
:backlinks: none
|
|
|
|
:depth: 1
|
|
|
|
:local:
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
This guide will help you update the Hasura GraphQL engine running with Docker. This guide assumes that you already have
|
2018-09-11 14:11:24 +03:00
|
|
|
Hasura GraphQL engine running with Docker.
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
Step 1: Check the latest release version
|
|
|
|
----------------------------------------
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
The current latest version is:
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<code>hasura/graphql-engine:<span class="latest-release-tag">latest</span></code>
|
|
|
|
|
|
|
|
All the versions can be found at: https://github.com/hasura/graphql-engine/releases
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
Step 2: Update the Docker image
|
|
|
|
-------------------------------
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
In the ``docker run`` command or the ``docker-compose`` command that you're running, update the image tag to this
|
|
|
|
latest version.
|
|
|
|
|
|
|
|
For example, if you had:
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<code>docker run hasura/graphql-engine:v1.0.0-alpha01 ...</code>
|
|
|
|
|
|
|
|
you should change it to:
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<code>docker run hasura/graphql-engine:<span class="latest-release-tag">latest</span> ...</code>
|
2019-10-17 15:02:01 +03:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
If you are downgrading to an older version of the GraphQL engine you might need to downgrade your metadata catalogue version
|
2020-03-11 22:42:36 +03:00
|
|
|
as described in :ref:`downgrade_hge`
|