Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker deployment guide #8412

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions docs/resources/guides/deployment/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ Docker volume, run:

$ docker run -it --rm --link=gel \
-e GEL_SERVER_PASSWORD=secret \
-v gel-cli-config:/.config/gel geldata/gel-cli \
-H gel instance link my_instance
-v gel-cli-config:/.config/edgedb geldata/gel-cli \
-H gel instance link my_instance \
--tls-security insecure \
--non-interactive

Now, to open an interactive shell to the database instance run this:

.. code-block:: bash

$ docker run -it --rm --link=gel \
-v gel-cli-config:/.config/gel geldata/gel-cli \
-v gel-cli-config:/.config/edgedb geldata/gel-cli \
-I my_instance


Expand Down Expand Up @@ -80,7 +82,7 @@ Note that on Windows you must use a Docker volume instead:
-v gel-data:/var/lib/gel/data \
-d geldata/gel

It is also possible to run an ``gel`` container on a remote PostgreSQL
It is also possible to run a ``gel`` container on a remote PostgreSQL
cluster specified by :gelenv:`SERVER_BACKEND_DSN`. See below for details.


Expand All @@ -101,7 +103,6 @@ With a ``docker-compose.yaml`` containing:

.. code-block:: yaml

version: "3"
services:
gel:
image: geldata/gel
Expand All @@ -124,7 +125,8 @@ machine, you can use the CLI bundled with the server container:

.. code-block:: bash

$ docker-compose exec gel gel --tls-security=insecure migration create
$ docker compose exec gel \
gel --tls-security=insecure -P 5656 migration create


.. _ref_guides_deployment_docker_customization:
Expand Down