https://github.com/kazuhisya/moodle-docker
Moodle container for use with a docker-compose.
https://github.com/kazuhisya/moodle-docker
docker docker-compose moodle
Last synced: about 2 months ago
JSON representation
Moodle container for use with a docker-compose.
- Host: GitHub
- URL: https://github.com/kazuhisya/moodle-docker
- Owner: kazuhisya
- Created: 2017-07-28T05:36:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-28T10:31:19.000Z (almost 9 years ago)
- Last Synced: 2025-01-20T23:29:31.670Z (over 1 year ago)
- Topics: docker, docker-compose, moodle
- Language: Shell
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# moodle docker
[](https://circleci.com/gh/kazuhisya/moodle-docker/tree/master)
This repository provides moodle environment for docker compose.
The container image is available in the [Docker Hub](https://hub.docker.com/r/kazuhisya/moodle/).
## System Requirements
- Docker Engine 1.10.0+
- Docker Compose 1.6.0+
## Get started
```bash
$ cd moodle-docker/
```
First, edit `MOODLE_URL` in your `docker-compose.yml`.
like this:
```yaml
~~ snip ~~
environment:
TZ: Asia/Tokyo
POSTGRES_HOST: moodle_db
POSTGRES_PORT: 5432
POSTGRES_DB: moodle
POSTGRES_USER: moodle
PGPASSWORD: moodle
MOODLE_URL: "http://localhost:8080/moodle" # edit this line!
~~ snip ~~
```
Usually, `MOODLE_URL` sets FQDN of your Docker host.
Next, you can `up` (launch).
```bash
$ docker-compose up -d
$ docker-compose logs -f moodle # and wait for the finish output...
```
```bash
# Sample finish output
moodle_1 | インストールが正常に完了しました。
moodle_1 | Admin account: admin/admin
moodle_1 | first setup done.
```
After seeing the finish output, open `http://:/` in your browser.
## Build own container (optional)
You can use `docker-compose-local.yml`
```bash
$ docker-compose -f docker-compose-local.yml build
$ docker-compose -f docker-compose-local.yml up -d
$ docker-compose logs -f moodle # and wait for the finish output...
```
## Disclaimer
This repository and all files that are included in this, there is no relationship at all with the upstream and vendor.