Created
February 10, 2025 16:33
-
-
Save jtuttas/863959868cf293029454053053758266 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright Broadcom, Inc. All Rights Reserved. | |
# SPDX-License-Identifier: APACHE-2.0 | |
services: | |
mariadb: | |
image: docker.io/bitnami/mariadb:11.4 | |
environment: | |
# ALLOW_EMPTY_PASSWORD is recommended only for development. | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=bn_moodle | |
- MARIADB_DATABASE=bitnami_moodle | |
- MARIADB_CHARACTER_SET=utf8mb4 | |
- MARIADB_COLLATE=utf8mb4_unicode_ci | |
volumes: | |
- 'mariadb_data:/bitnami/mariadb' | |
moodle: | |
image: docker.io/bitnami/moodle:4.5 | |
ports: | |
- '80:8080' | |
- '443:8443' | |
environment: | |
- MOODLE_DATABASE_HOST=mariadb | |
- MOODLE_DATABASE_PORT_NUMBER=3306 | |
- MOODLE_DATABASE_USER=bn_moodle | |
- MOODLE_DATABASE_NAME=bitnami_moodle | |
# ALLOW_EMPTY_PASSWORD is recommended only for development. | |
- ALLOW_EMPTY_PASSWORD=yes | |
volumes: | |
- 'moodle_data:/bitnami/moodle' | |
- 'moodledata_data:/bitnami/moodledata' | |
depends_on: | |
- mariadb | |
volumes: | |
mariadb_data: | |
driver: local | |
moodle_data: | |
driver: local | |
moodledata_data: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment