From d2f3ad7bc3dfcb363e39369612aa59ca4aa4347e Mon Sep 17 00:00:00 2001 From: Renato Cron Date: Tue, 20 Aug 2024 12:04:17 +0000 Subject: [PATCH] Add DB_SSL__REJECT_UNAUTHORIZED=false --- docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 19dc661..ced8e13 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -24,6 +24,8 @@ services: DB_DATABASE: "${DIRECTUS_DATABASE_NAME}" DB_USER: "${DIRECTUS_DATABASE_USERNAME}" DB_PASSWORD: "${DIRECTUS_DATABASE_PASSWORD}" + # set CA file to avoid SSL error in case of self-signed certificate + DB_SSL__REJECT_UNAUTHORIZED: "false" EMAIL_FROM: "${SMTP_FROM}" EMAIL_TRANSPORT: 'smtp' EMAIL_SMTP_HOST: "${SMTP_HOST}"