Skip to content

Commit bab968d

Browse files
authored
adjusted GB installation (#16)
* adjusted GB installation * adjusted GB installation
1 parent 5784adf commit bab968d

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

docs/GreedyBear/Installation.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ For requirements, please refer to [IntelOwl requirements](https://intelowlprojec
55

66
Note that GreedyBear _needs_ a running instance of ElasticSearch of a T-POT to function. In `docker/env_file`, set the variable `ELASTIC_ENDPOINT` with the URL of your Elasticsearch T-POT.
77

8-
If you don't have one, you can make the following changes to make GreeyBear spin up it's own ElasticSearch instance.
8+
In the T-POT classic installation, ElasticSearch is not exposed externally. If you want your GB instance to connect to it, you must change this and expose it externally.
9+
10+
Yo do that, change the main `docker-compose.yml` of the T-POT in the `elasticsearch` section:
11+
```code
12+
ports:
13+
- "64298:9200" # instead of "127.0.0.1:64298:9200"
14+
```
15+
Obviously, you should have already configured your T-POT to avoid generic access to ports higher than 64000 (like stated in the [official doc](https://github.com/telekom-security/tpotce/tree/master?tab=readme-ov-file#system-placement))
16+
17+
If you don't have a T-POT, you can make the following changes to make GreeyBear spin up it's own ElasticSearch instance.
918
(...Care! This option would require enough RAM to run the additional containers. Suggested is >=16GB):
1019

1120
1. In `docker/env_file`, set the variable `ELASTIC_ENDPOINT` to `http://elasticsearch:9200`.
@@ -28,12 +37,8 @@ cp env_file_template env_file
2837
cp env_file_postgres_template env_file_postgres
2938
```
3039

31-
Now you can start by building the image using docker-compose and run the project.
32-
3340
```bash
34-
# build the image locally
35-
docker-compose build
36-
41+
# The default deployment leverages the official images of GreedyBear available here: https://hub.docker.com/repository/docker/intelowlproject/greedybear
3742
# start the app
3843
docker-compose up
3944

0 commit comments

Comments
 (0)