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

Small fixes for Docker installation instructions #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
18 changes: 9 additions & 9 deletions docs/installing/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ This guide helps you set up hoop with Docker.

## All In One

Start all components and test hoop locally (it requires docker).
Follow the in-screen instructions to walk you through the solution
Start all components and test hoop locally (this requires Docker).

Follow the on-screen instructions to walk you through the solution.

```shell
hoop start
Expand All @@ -24,24 +25,23 @@ The command above is analougous to:
docker run -p 8009:8009 -p 8010:8010 -e PROFILE=dev --rm -it hoophq/hoop
```

- The port `8009` hosts the webapp, check it out http://127.0.0.1:8009
- The port `8010` exposes the gprc gateway which let you interact with `hoop exec|connect`

> The `PROFILE=dev` will fallback to start all required components
- The port `8009` hosts the webapp, check it out at http://127.0.0.1:8009
- The port `8010` exposes the gprc gateway which lets you interact with `hoop exec|connect`
- The `PROFILE=dev` will fallback to start all required components.

## Gateway

To run a standalone gateway on docker in production, check the [container-platforms generic guide](../container-platforms/generic) to see all the requirements.
To run a standalone gateway on Docker in production, check the [container-platforms generic guide](../container-platforms/generic) to see all the requirements.

## Agent

The image `hoophq/hoop` has the hoop command line, which can started each component individually
The image `hoophq/hoop` has the hoop command line, which can start each component individually.

```shell
docker run --rm -ti hoophq/hoop hoop start agent
```

To deploy a production agent, we recommend the image `hoophq/hoopdev`. It doesn't require passing any arguments
To deploy a production agent, we recommend the image `hoophq/hoopdev`. It doesn't require passing any arguments.

```shell
docker run --rm -ti hoophq/hoopdev
Expand Down