@webhare/moodle-webservice
Version:
Moodle Web Service API client with intellisense and typechecking
41 lines (39 loc) • 1.15 kB
YAML
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
version: '2'
services:
mariadb:
image: docker.io/bitnami/mariadb:11.3
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:
- "${HOME}/dockerstorage/moodle/mariadb:/bitnami/mariadb"
moodle:
image: docker.io/bitnami/moodle:4.3
ports:
- '8051:8080'
- '8052: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:
- "${HOME}/dockerstorage/moodle/moodle:/bitnami/moodle"
- "${HOME}/dockerstorage/moodle/moodle-data:/bitnami/moodledata"
depends_on:
- mariadb
volumes:
mariadb_data:
driver: local
moodle_data:
driver: local
moodledata_data:
driver: local