@@ -13,7 +13,7 @@ manual [installation packages](https://github.com/OpenBAS-Platform/openbas/relea
13
13
14
14
---
15
15
16
- Deploy OpenBAS using Docker and the default ` docker-compose.yml ` provided
16
+ Deploy OpenBAS using Docker and the default ` docker-compose.base. yml ` provided
17
17
in the [ docker] ( https://github.com/OpenBAS-Platform/docker ) .
18
18
19
19
[ :octicons-arrow-right-24:{ .middle } Setup] ( #using-docker )
@@ -59,11 +59,11 @@ cd docker
59
59
60
60
### Configure the environment
61
61
62
- Before running the ` docker compose ` command, the ` docker-compose.yml ` file should be configured. By default, the
63
- ` docker-compose.yml ` file is using environment variables available in the ` .env.sample ` file.
62
+ Before running the ` docker compose ` command, the ` docker-compose.base. yml ` file should be configured. By default, the
63
+ ` docker-compose.base. yml ` file is using environment variables available in the ` .env.sample ` file.
64
64
65
65
You can either rename the file ` .env.sample ` in ` .env ` and put the expected values or just fill directly the
66
- ` docker-compose.yml ` with the values corresponding to your environment.
66
+ ` docker-compose.base. yml ` with the values corresponding to your environment.
67
67
68
68
#### Docker compose env
69
69
@@ -106,7 +106,7 @@ export $(cat .env | grep -v "#" | xargs)
106
106
107
107
The default for OpenBAS data is to be persistent.
108
108
109
- In the ` docker-compose.yml ` , you will find at the end the list of necessary persistent volumes for the dependencies:
109
+ In the ` docker-compose.base. yml ` , you will find at the end the list of necessary persistent volumes for the dependencies:
110
110
111
111
``` yaml
112
112
volumes :
@@ -123,8 +123,24 @@ After changing your `.env` file run `docker compose` in detached (-d) mode:
123
123
124
124
` ` ` bash
125
125
sudo systemctl start docker.service
126
- # Run docker compose in detached
127
- docker compose up -d
126
+ ` ` `
127
+
128
+ To start OpenBAS with the essential services, run :
129
+
130
+ ` ` ` bash
131
+ docker compose -f docker-compose.base.yml up -d
132
+ ` ` `
133
+
134
+ To start OpenBAS with Atomic Red Team threat library, run :
135
+
136
+ ` ` ` bash
137
+ docker compose -f docker-compose.base.yml -f docker-compose.atomic-red-team.yml up -d
138
+ ` ` `
139
+
140
+ To start OpenBAS with Caldera, run :
141
+
142
+ ` ` ` bash
143
+ docker compose -f docker-compose.base.yml -f docker-compose.caldera.yml up -d
128
144
` ` `
129
145
130
146
# ### Using Docker swarm
@@ -143,7 +159,7 @@ Put your environment variables in `/etc/environment`:
143
159
# If you already exported your variables to .env from above:
144
160
sudo cat .env >> /etc/environment
145
161
sudo bash -c 'cat .env >> /etc/environment’
146
- sudo docker stack deploy --compose-file docker-compose.yml openbas
162
+ sudo docker stack deploy --compose-file docker-compose.base. yml openbas
147
163
` ` `
148
164
149
165
!!! success "Installation done"
@@ -160,7 +176,7 @@ You can deploy Caldera alongside OpenBAS to manage agent deployment and execute
160
176
161
177
---
162
178
163
- Deploy Caldera using Docker and the default `docker-compose.yml` provided
179
+ Deploy Caldera using Docker and the default `docker-compose.base. yml` provided
164
180
in the [docker](https://github.com/OpenBAS-Platform/caldera/tree/filigran/docker).
165
181
166
182
[:octicons-arrow-right-24:{ .middle } Setup](#using-docker)
0 commit comments