Last active
April 5, 2024 09:39
-
-
Save dnburgess/a1bf8835f699123987cca2fcdec14f37 to your computer and use it in GitHub Desktop.
DB Tech Moodle
This file contains 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
Hey is there an ENV variable I can pass to alter the default server timezone. The usual docker convention TZ='time/zone' isnt working for me