> For the complete documentation index, see [llms.txt](https://kchuene.gitbook.io/data-communication-project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kchuene.gitbook.io/data-communication-project/archive/stackstorm.md).

# StackStorm

Install StackStorm SOAR for response automation to intrusion detections by the honeypot or other components.

## Clone Repository

Clone the `st2-docker` repository from Github at `https://github.com/stackstorm/st2-docker` .

{% code overflow="wrap" lineNumbers="true" %}

```
git clone https://github.com/stackstorm/st2-docker && cd st2-docker
```

{% endcode %}

## Environment Configuration

Environment variables one might want to change.

| Parameter         | Description                                    |
| ----------------- | ---------------------------------------------- |
| ST2\_VERSION      | Version tag (e.g. `stackstorm/st2api:v3.3dev`) |
| ST2\_EXPOSE\_HTTP | `127.0.0.1:8000`                               |

Create `.env` file and set the variables like so

{% code overflow="wrap" lineNumbers="true" %}

```
ST2_EXPOSE_HTTP=128.0.0.1:8000
```

{% endcode %}

## Installation

**Pull then Create + Run container**

{% code overflow="wrap" lineNumbers="true" %}

```
sudo docker compose pull
sudo docker compose up -d
```

{% endcode %}

## Access

**Run bash shell on the container**

{% code overflow="wrap" lineNumbers="true" %}

```
sudo docker compose exec st2client bash
```

{% endcode %}

**Web portal**

{% code overflow="wrap" lineNumbers="true" %}

```
http://localhost:8000
```

{% endcode %}

Default credentials are `st2admin:Ch@ngeMe` and can be configured via `files/htpasswd` stored in the image.

{% embed url="<https://docs.stackstorm.com/install/docker.html>" %}

{% embed url="<https://github.com/StackStorm/st2-docker>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kchuene.gitbook.io/data-communication-project/archive/stackstorm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
