From 25365ad7f61a201e45ebcc1656f61e545dacc9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Fri, 21 Jan 2022 23:34:09 +0100 Subject: [PATCH] Moodle timezone --- dd-ctl | 1 + digitaldemocratic.conf.sample | 1 + 2 files changed, 2 insertions(+) diff --git a/dd-ctl b/dd-ctl index 06bb9de..a6091ad 100755 --- a/dd-ctl +++ b/dd-ctl @@ -217,6 +217,7 @@ setup_moodle(){ docker exec -ti isard-apps-moodle php7 admin/cli/cfg.php --name=enrol_plugins_enabled --set=manual docker exec -ti isard-apps-moodle php7 admin/cli/cfg.php --name=enablemobilewebservice --set=0 docker exec -ti isard-apps-moodle php7 admin/cli/cfg.php --name=enablebadges --set=0 + docker exec -ti isard-apps-moodle php7 admin/cli/cfg.php --name=timezone --set="${MOODLE_TIMEZONE-Europe/Madrid}" docker exec -ti isard-apps-moodle php7 admin/cli/purge_caches.php } diff --git a/digitaldemocratic.conf.sample b/digitaldemocratic.conf.sample index 1bae3f6..28f47db 100644 --- a/digitaldemocratic.conf.sample +++ b/digitaldemocratic.conf.sample @@ -62,6 +62,7 @@ MOODLE_SITENAME="Digital Democratic" MOODLE_EMAIL=moodle-info@mymailserver.com MOODLE_MAIL_NOREPLY_ADDRESS=noreply@mymailserver.com MOODLE_MAIL_PREFIX=[moodle] +MOODLE_TIMEZONE=Europe/Madrid MOODLE_POSTGRES_USER=moodle MOODLE_POSTGRES_PASSWORD=M00dl3