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

clarify how to increase timeout in docker demo #10410

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
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
8 changes: 7 additions & 1 deletion doc/sphinx-guides/source/container/running/demo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Edit the ``compose.yml`` file and look for the following section.
container_name: "bootstrap"
image: gdcc/configbaker:alpha
restart: "no"
environment:
- TIMEOUT=3m
command:
- bootstrap.sh
- dev
Expand Down Expand Up @@ -189,13 +191,17 @@ Windows support is experimental but we are very interested in supporting Windows
Bootstrapping Did Not Complete
++++++++++++++++++++++++++++++

In the compose file, try increasing the timeout in the bootstrap container by adding something like this:
In the compose file, try increasing the timeout for the bootstrap container:

.. code-block:: bash

environment:
- TIMEOUT=10m

As described above, you'll want to stop containers, delete data, and start over with ``docker compose up``. To make sure the increased timeout is in effect, you can run ``docker logs bootstrap`` and look for the new value in the output:

``Waiting for http://dataverse:8080 to become ready in max 10m.``

Wrapping Up
-----------

Expand Down
2 changes: 2 additions & 0 deletions docker/compose/demo/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ services:
container_name: "bootstrap"
image: gdcc/configbaker:alpha
restart: "no"
environment:
- TIMEOUT=3m
command:
- bootstrap.sh
- dev
Expand Down
Loading