Last active
August 6, 2024 12:49
-
-
Save dnburgess/a1bf8835f699123987cca2fcdec14f37 to your computer and use it in GitHub Desktop.
DB Tech Moodle
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
version: '2' | |
services: | |
mariadb: | |
image: mariadb | |
volumes: | |
- /srv/Configs/Databases/Moodle:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=moodle | |
- MYSQL_ROOT_USER=root | |
- MYSQL_DATABASE=moodle | |
moodle: | |
image: bitnami/moodle:latest | |
ports: | |
- 8080:8080 | |
- 8443:8443 | |
environment: | |
- MOODLE_DATABASE_HOST=mariadb | |
- MOODLE_DATABASE_USER=root | |
- MOODLE_DATABASE_PASSWORD=moodle | |
- MOODLE_DATABASE_NAME=moodle | |
- PUID=998 | |
- PGID=100 | |
volumes: | |
- /srv/Configs/Moodle:/bitnami/moodle | |
- /srv/Configs/MoodleData:/bitnami/moodledata | |
depends_on: | |
- mariadb | |
links: | |
- mariadb:mariadb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, I used the official Docker Compose file and granted the necessary permissions for some files. Finally, it works.
Thank you for your reply.