From d2b46dbca8801addf790743e0370252799cd7c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Capil=C3=A9?= Date: Mon, 2 Dec 2024 15:18:37 -0300 Subject: [PATCH] ATTACHMENTS_DIR without a default value --- core/files/etc/misp-docker/initialisation.defaults.json | 3 +++ docker-compose.yml | 1 - template.env | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/files/etc/misp-docker/initialisation.defaults.json b/core/files/etc/misp-docker/initialisation.defaults.json index 9391b06..c35e878 100644 --- a/core/files/etc/misp-docker/initialisation.defaults.json +++ b/core/files/etc/misp-docker/initialisation.defaults.json @@ -80,6 +80,9 @@ "MISP.event_alert_republish_ban_threshold": { "default_value": 120 }, + "MISP.attachments_dir": { + "default_value": "/var/www/MISP/app/files" + }, "Security.advanced_authkeys": { "default_value": true }, diff --git a/docker-compose.yml b/docker-compose.yml index e79d108..c94ab52 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -114,7 +114,6 @@ services: - "ADMIN_ORG=${ADMIN_ORG}" - "ADMIN_ORG_UUID=${ADMIN_ORG_UUID}" - "GPG_PASSPHRASE=${GPG_PASSPHRASE}" - - "ATTACHMENTS_DIR=${ATTACHMENTS_DIR:-/var/www/MISP/app/files}" # OIDC authentication settings - "OIDC_ENABLE=${OIDC_ENABLE}" - "OIDC_PROVIDER_URL=${OIDC_PROVIDER_URL}" diff --git a/template.env b/template.env index a9c6048..a3a949d 100644 --- a/template.env +++ b/template.env @@ -53,8 +53,8 @@ ENABLE_DB_SETTINGS= ENCRYPTION_KEY= # enable background updates. defaults to false ENABLE_BACKGROUND_UPDATES= -# use a different attachments_dir. configure this folder to use persistent storage -ATTACHMENTS_DIR=/var/www/MISP/app/files +# use a different attachments_dir +ATTACHMENTS_DIR= # defines the FQDN of the mail sub-system (defaults to 'mail') # SMTP_FQDN=