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
+11
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,17 @@ If it is a setting controlled by an environment variable which is meant to overr
109
109
-`./gnupg`: `/var/www/MISP/.gnupg/`
110
110
- 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.
111
111
112
+
#### Using slow disks as volume mounts
113
+
114
+
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.
115
+
116
+
- Remove the `/var/www/MISP/app/files/` volume mount.
117
+
- Add the following volume mounts instead:
118
+
-`./img/`: `/var/www/MISP/app/files/img`
119
+
-`./terms`: `/var/www/MISP/app/files/terms`
120
+
-`./attachments`: `/var/www/MISP/app/attachments`
121
+
- Set the environment variable `ATTACHMENTS_DIR` to the above folder location (it is important that it doesn't replace the `/var/www/MISP/app/files/` folder).
122
+
112
123
## Installing custom root CA certificates
113
124
114
125
Custom root CA certificates can be mounted under `/usr/local/share/ca-certificates` and will be installed during the `misp-core` container start.
0 commit comments