Created
January 5, 2017 09:36
-
-
Save maxehmookau/1622c876443362b7230f2a1f5ae84ec8 to your computer and use it in GitHub Desktop.
Simple Moodle 3.2 Installation on Docker Compose
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: | |
moodle: | |
image: jhardison/moodle | |
links: | |
- moodle_db | |
environment: | |
MOODLE_URL: "http://0.0.0.0:8080" | |
DB_PORT_3306_TCP_ADDR: moodle_db | |
DB_ENV_MYSQL_USER: moodle | |
DB_ENV_MYSQL_PASSWORD: moodle | |
DB_ENV_MYSQL_DATABASE: moodle | |
ports: | |
- "8080:80" | |
moodle_db: | |
image: mysql:latest | |
environment: | |
MYSQL_DATABASE: moodle | |
MYSQL_ROOT_PASSWORD: moodle | |
MYSQL_USER: moodle | |
MYSQL_PASSWORD: moodle | |
ports: | |
- "3306:3306" | |
volumes: | |
- .data/moodledb:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment