Skip to content

migasQ/moodle-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e9025a8 · Dec 23, 2024

History

13 Commits
Jun 2, 2023
Dec 23, 2024
Jun 21, 2023
Dec 23, 2024
Jun 2, 2023
Jun 2, 2023
Dec 23, 2024
Dec 23, 2024

Repository files navigation

Moodle

Start

  • cp .env-template .env and edit accordingly
  • cp www/config-template.php www/config.php and edit accordingly
  • docker compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)
  • docker compose up -d
  • Set up cronjob * * * * * docker exec php-fpm /usr/local/bin/php /var/www/html/admin/cli/cron.php

Update

  • Upgrade/ config everything/ update plugins via git beforehand
    • folders can be found from plugin overview page in moodle (e.g. www/mod, www/course/format, ...)
  • Set $CFG->upgradekey = 'put_some_shared_secret_here';
  • Activate maintenance mode
  • git pull
  • docker compose pull && docker compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) --no-cache
  • docker compose up -d
  • Deactivate maintenance mode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published