Skip to content

Commit 24690ca

Browse files
committed
Update documentation and reduce benign errors at first bootstrap
1 parent 833036a commit 24690ca

File tree

6 files changed

+34
-31
lines changed

6 files changed

+34
-31
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ The underlying spirit of this project is to allow "repeatable deployments", and
3434

3535
### Run
3636

37-
- `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)
38-
- `docker-compose up`
37+
- `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)
38+
- `docker compose up`
3939
- Login to `https://localhost`
4040
4141
- Password: `admin`
4242

43-
Keeping the image up-to-date with upstream should be as simple as running `docker-compose pull`.
43+
Keeping the image up-to-date with upstream should be as simple as running `docker compose pull`.
4444

4545
### Configuration
4646

@@ -133,7 +133,6 @@ Custom root CA certificates can be mounted under `/usr/local/share/ca-certificat
133133
## Troubleshooting
134134
135135
- Make sure you run a fairly recent version of Docker and Docker Compose (if in doubt, update following the steps outlined in https://docs.docker.com/engine/install/ubuntu/)
136-
- Some Linux distributions provide a recent version of Docker but a legacy version of Docker Compose, so you can try running `docker compose` instead of `docker-compose`
137136
- Make sure you are not running an old image or container; when in doubt run `docker system prune --volumes` and clone this repository into an empty directory
138137

139138
## Versioning

core/files/entrypoint_nginx.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ if [[ -x /custom/files/customize_misp.sh ]]; then
288288
fi
289289

290290
# Restart PHP workers
291+
echo "INIT | Configure PHP ..."
291292
supervisorctl restart php-fpm
293+
echo "INIT | Done ..."
292294

293295
# Wait for it
294296
wait "$master_pid"

core/files/etc/misp-docker/initialisation.defaults.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,6 @@
8080
"MISP.event_alert_republish_ban_threshold": {
8181
"default_value": 120
8282
},
83-
"Plugin.Enrichment_services_enable": {
84-
"default_value": true
85-
},
86-
"Plugin.Import_services_enable": {
87-
"default_value": true
88-
},
89-
"Plugin.Action_services_enable": {
90-
"default_value": true
91-
},
92-
"Plugin.Export_services_enable": {
93-
"default_value": true
94-
},
95-
"Plugin.Cortex_services_enable": {
96-
"default_value": false
97-
},
9883
"Security.advanced_authkeys": {
9984
"default_value": true
10085
},

core/files/etc/misp-docker/initialisation.envars.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@
1212
"MISP.contact": {
1313
"default_value": "${SETTING_CONTACT}"
1414
},
15-
"Plugin.Enrichment_services_url": {
16-
"default_value": "${MISP_MODULES_FQDN}"
17-
},
18-
"Plugin.Import_services_url": {
19-
"default_value": "${MISP_MODULES_FQDN}"
20-
},
21-
"Plugin.Action_services_url": {
22-
"default_value": "${MISP_MODULES_FQDN}"
23-
},
24-
"Plugin.Export_services_url": {
25-
"default_value": "${MISP_MODULES_FQDN}"
26-
},
2715
"Security.encryption_key": {
2816
"default_value": "${ENCRYPTION_KEY}",
2917
"command_args": "-f"

core/files/etc/misp-docker/optional.defaults.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,27 @@
1616
"MISP.log_user_ips_authkeys": {
1717
"default_value": true
1818
},
19+
"Plugin.Enrichment_services_enable": {
20+
"default_value": true
21+
},
1922
"Plugin.Enrichment_timeout": {
2023
"default_value": 30
2124
},
2225
"Plugin.Enrichment_hover_timeout": {
2326
"default_value": 5
2427
},
28+
"Plugin.Import_services_enable": {
29+
"default_value": true
30+
},
31+
"Plugin.Action_services_enable": {
32+
"default_value": true
33+
},
34+
"Plugin.Export_services_enable": {
35+
"default_value": true
36+
},
37+
"Plugin.Cortex_services_enable": {
38+
"default_value": false
39+
},
2540
"Plugin.Workflow_enable": {
2641
"default_value": true
2742
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"Plugin.Enrichment_services_url": {
3+
"default_value": "${MISP_MODULES_FQDN}"
4+
},
5+
"Plugin.Import_services_url": {
6+
"default_value": "${MISP_MODULES_FQDN}"
7+
},
8+
"Plugin.Export_services_url": {
9+
"default_value": "${MISP_MODULES_FQDN}"
10+
},
11+
"Plugin.Action_services_url": {
12+
"default_value": "${MISP_MODULES_FQDN}"
13+
}
14+
}

0 commit comments

Comments
 (0)