From 425c6ae94406032a9c7969341c25ad0ec8ec1111 Mon Sep 17 00:00:00 2001 From: Kaustav Banerjee Date: Mon, 11 Nov 2024 19:10:36 +0530 Subject: [PATCH] feat: new patch for mysql options --- docs/reference/patches.rst | 7 +++++++ tutor/templates/apps/openedx/config/partials/auth.yml | 1 + 2 files changed, 8 insertions(+) diff --git a/docs/reference/patches.rst b/docs/reference/patches.rst index 5ef0aece60..5b0917c553 100644 --- a/docs/reference/patches.rst +++ b/docs/reference/patches.rst @@ -243,6 +243,13 @@ File: ``local/docker-compose.prod.yml`` File: ``local/docker-compose.yml`` +.. patch:: mysql-options + +``mysql-options`` +================= + +File: ``apps/openedx/config/partials/auth.yml`` + .. patch:: openedx-auth ``openedx-auth`` diff --git a/tutor/templates/apps/openedx/config/partials/auth.yml b/tutor/templates/apps/openedx/config/partials/auth.yml index 56f2a8b94c..b8870e1ef1 100644 --- a/tutor/templates/apps/openedx/config/partials/auth.yml +++ b/tutor/templates/apps/openedx/config/partials/auth.yml @@ -20,5 +20,6 @@ DATABASES: {%- if RUN_MYSQL %} charset: "utf8mb4" {%- endif %} + {{ patch("mysql-options") }} EMAIL_HOST_USER: "{{ SMTP_USERNAME }}" EMAIL_HOST_PASSWORD: "{{ SMTP_PASSWORD }}"