Last active
April 29, 2018 07:21
-
-
Save e-kolpakov/2ea4e08d9442cc267f19bd4b7783983c to your computer and use it in GitHub Desktop.
Bitnami Moodle docker-compose for LTI Open edX workshop
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: 'bitnami/mariadb:latest' | |
| environment: | |
| - MARIADB_USER=bn_moodle | |
| - MARIADB_DATABASE=bitnami_moodle | |
| - MARIADB_PORT_NUMBER=3306 | |
| - ALLOW_EMPTY_PASSWORD=yes | |
| volumes: | |
| - 'mariadb_data:/bitnami' | |
| ports: | |
| - "3307:3306" | |
| moodle: | |
| image: 'bitnami/moodle:latest' | |
| environment: | |
| - MARIADB_HOST=mariadb | |
| - MARIADB_PORT_NUMBER=3306 | |
| - MOODLE_DATABASE_USER=bn_moodle | |
| - MOODLE_DATABASE_NAME=bitnami_moodle | |
| - ALLOW_EMPTY_PASSWORD=yes | |
| labels: | |
| kompose.service.type: nodeport | |
| ports: | |
| - '80:80' | |
| - '443:443' | |
| volumes: | |
| - 'moodle_data:/bitnami' | |
| depends_on: | |
| - mariadb | |
| volumes: | |
| mariadb_data: | |
| driver: local | |
| moodle_data: | |
| driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment