Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/treehouses/moodole
Moodle Docker :whale: for Raspberry Pi. Part of OLE's Treehouses Project.
https://github.com/treehouses/moodole
arm docker learning-management-system moodle moodle-docker open-learning-exchange raspberry-pi treehouses
Last synced: about 1 month ago
JSON representation
Moodle Docker :whale: for Raspberry Pi. Part of OLE's Treehouses Project.
- Host: GitHub
- URL: https://github.com/treehouses/moodole
- Owner: treehouses
- License: agpl-3.0
- Created: 2017-11-20T16:40:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T03:45:27.000Z (over 3 years ago)
- Last Synced: 2024-08-03T15:12:14.811Z (4 months ago)
- Topics: arm, docker, learning-management-system, moodle, moodle-docker, open-learning-exchange, raspberry-pi, treehouses
- Language: Shell
- Homepage: https://hub.docker.com/r/treehouses/moodle/
- Size: 102 KB
- Stars: 17
- Watchers: 11
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - treehouses/moodole - Moodle Docker :whale: for Raspberry Pi. Part of OLE's Treehouses Project. (raspberry-pi)
README
# moodole
[![Build Status](https://travis-ci.org/treehouses/moodole.svg?branch=master)](https://travis-ci.org/treehouses/moodole)
Multiarchitecture Moodle Docker for Raspberry Pi
Supported architectures: `amd64`,`arm`,`arm64`
https://hub.docker.com/r/treehouses/moodle/
Moodle E Learning running on ARM with Raspberry Pi by Open Learning Exchange
---
## How to use
1. download docker-compose-ready.yml file
2. move to the folder which contains docker-compose-ready.yml
3. run command to start moodle:
```shell
docker-compose -f docker-compose-ready.yml up -d
```
4. run command to stop moodle:
```shell
docker-compose -f docker-compose-ready.yml stop
```
5. delete environment:
```shell
docker-compose -f docker-compose-ready.yml down
```
6. See if the docker containers running
```shell
docker ps
```
7. view container log
```shell
docker logs {{container_id}}
```---
## Different versions of docker-compose-ready.yml file
**Note:** For Raspberry Pi Zero only the alpine version will work.
**For Ubuntu version:**
```dockerfile
version: '2'
services:
moodledb:
image: postgres
container_name: moodledb
environment:
# MAKE SURE THIS ONE SAME WITH THE MOODLE
- POSTGRES_DATABASE=moodle
- POSTGRES_USER=moodle
- POSTGRES_PASSWORD=moodle
moodle:
image: treehouses/moodle:latest
container_name: moodle
ports:
- "80:80"
environment:
- NGINX_PORT=80
- MOODOLE_DB_URL=moodledb
- MOODOLE_DB_NAME=moodle
- MOODOLE_DB_USER=moodle
- MOODOLE_DB_PASS=moodle
- MOODOLE_DB_PORT=5432
- MOODOLE_MAX_BODY_SIZE=200M
- MOODOLE_BODY_TIMEOUT=300s
```---
**For Alpine version:**
```dockerfile
version: '2'
services:
moodledb:
image: postgres
container_name: moodledb
environment:
# MAKE SURE THIS ONE SAME WITH THE MOODLE
- POSTGRES_DATABASE=moodle
- POSTGRES_USER=moodle
- POSTGRES_PASSWORD=moodle
moodle:
image: treehouses/moodle:alpine
container_name: moodle
ports:
- "80:80"
environment:
- NGINX_PORT=80
- MOODOLE_DB_URL=moodledb
- MOODOLE_DB_NAME=moodle
- MOODOLE_DB_USER=moodle
- MOODOLE_DB_PASS=moodle
- MOODOLE_DB_PORT=5432
- MOODOLE_MAX_BODY_SIZE=200M
- MOODOLE_BODY_TIMEOUT=300s
```---