You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ docker compose version
56
56
57
57
### Run
58
58
59
-
-`docker compose pull` if you want to use pre-built images or `docker compose build` if you want to build your own (see the `Troubleshooting` section in case of errors)
59
+
-`docker compose pull` if you want to use pre-built images or `docker compose build` if you want to build your own (see the [Troubleshooting](#troubleshooting) section in case of errors)
60
60
-`docker compose up`
61
61
- Add `-d` to run the services in the background
62
62
- Login to `https://localhost`
@@ -238,6 +238,58 @@ For Okta, create a new application integration:
238
238
- If you need to automatically run additional steps each time the container starts, create a new file `files/customize_misp.sh`, and replace the variable `${CUSTOM_PATH}` inside `docker-compose.yml` with its parent path.
239
239
- If you are interested in running streamlined versions of the images (fewer dependencies, easier approval from compliance), you might want to use the `latest-slim` tag. Just adjust the `docker-compose.yml` file, and run again `docker compose pull` and `docker compose up`.
240
240
241
+
### Build Options
242
+
243
+
This project supports multiple build methods to suit different needs.
244
+
245
+
#### Using Docker Compose (Standard Method)
246
+
247
+
For most users, the standard Docker Compose build is recommended:
248
+
```bash
249
+
docker compose build
250
+
```
251
+
252
+
#### Using Docker Buildx Bake (Advanced)
253
+
254
+
Docker Buildx bake provides advanced build capabilities including multi-platform builds and parallel building of multiple targets. This method uses the `docker-bake.hcl` configuration file.
-`default` - Builds all variants (both standard and slim)
284
+
285
+
**Note:** The (GNU) `sed` command converts `template.env` to `env.hcl` format by removing empty lines, comments, and properly formatting variables for the bake file (on OSX you should install `gsed`).
286
+
287
+
**After building with buildx bake:**
288
+
289
+
You can still use Docker Compose to run the services:
290
+
```bash
291
+
docker compose up
292
+
```
241
293
#### Using slow disks as volume mounts
242
294
243
295
Using a slow disk as the mounted volume or a volume with high latency like NFS, EFS or S3 might significantly increase the startup time and downgrade the performance of the service. To address this we will mount the bare minimum that needs to be persisted.
0 commit comments