2023-10-26 22:18:06 +00:00
|
|
|
|
# documentation: https://moodle.org
|
|
|
|
|
# slogan: Moodle is the world’s most customisable and trusted eLearning solution that empowers educators to improve our world.
|
|
|
|
|
# tags: moodle, elearning, education, lms, cms, open, source, low, code
|
2024-02-20 16:08:16 +00:00
|
|
|
|
# logo: svgs/moodle.png
|
2023-10-26 22:18:06 +00:00
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
mariadb:
|
|
|
|
|
image: mariadb:11.1
|
|
|
|
|
environment:
|
|
|
|
|
- ALLOW_EMPTY_PASSWORD=no
|
|
|
|
|
- MYSQL_ROOT_PASSWORD=$SERVICE_PASSWORD_ROOT
|
|
|
|
|
- MYSQL_DATABASE=bitnami_moodle
|
|
|
|
|
- MYSQL_USER=$SERVICE_USER_MARIADB
|
|
|
|
|
- MYSQL_PASSWORD=$SERVICE_PASSWORD_MARIADB
|
|
|
|
|
- MARIADB_CHARACTER_SET=utf8mb4
|
|
|
|
|
- MARIADB_COLLATE=utf8mb4_unicode_ci
|
|
|
|
|
volumes:
|
|
|
|
|
- mariadb-data:/var/lib/mysql
|
|
|
|
|
|
|
|
|
|
moodle:
|
|
|
|
|
image: docker.io/bitnami/moodle:4.3
|
|
|
|
|
environment:
|
2023-10-27 12:22:35 +00:00
|
|
|
|
- SERVICE_FQDN_MOODLE
|
2023-10-26 22:18:06 +00:00
|
|
|
|
- MOODLE_DATABASE_HOST=mariadb
|
|
|
|
|
- MOODLE_DATABASE_PORT_NUMBER=3306
|
|
|
|
|
- MOODLE_DATABASE_USER=$SERVICE_USER_MARIADB
|
|
|
|
|
- MOODLE_DATABASE_NAME=bitnami_moodle
|
|
|
|
|
- MOODLE_DATABASE_PASSWORD=$SERVICE_PASSWORD_MARIADB
|
|
|
|
|
- ALLOW_EMPTY_PASSWORD=no
|
2023-10-27 12:22:35 +00:00
|
|
|
|
- MOODLE_USERNAME=${MOODLE_USERNAME:-user}
|
2023-10-26 22:18:06 +00:00
|
|
|
|
- MOODLE_PASSWORD=$SERVICE_PASSWORD_MOODLE
|
|
|
|
|
- MOODLE_EMAIL=user@example.com
|
|
|
|
|
- MOODLE_SITE_NAME=${MOODLE_SITE_NAME:-New Site}
|
|
|
|
|
volumes:
|
2023-10-27 12:22:35 +00:00
|
|
|
|
- moodle-data:/bitnami/moodle
|
|
|
|
|
- moodledata-data:/bitnami/moodledata
|
2023-10-26 22:18:06 +00:00
|
|
|
|
depends_on:
|
|
|
|
|
- mariadb
|