-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (34 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
39 lines (34 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.6'
services:
moodle:
build:
context: containers/moodle
dockerfile: Dockerfile
target: MOODLE
args:
PHP_VERSION: 7.1
MOODLE_VERSION: stable32/moodle-3.2.9
# MOODLE_VERSION: origin/MOODLE_32_STABLE
environment:
# COMPOSER_AUTH: '{"github-oauth": {"github.com": "${GITHUB_TOKEN}"}}'
IP:
ports:
- "80:80"
volumes:
# Moodle
- moodledata:/app/moodledata
# # Plugins
# - ./components/plugins/moodle-imis/components/tool_mergeusers:/app/moodle/admin/tool/mergeusers
# - ./components/plugins/moodle-imis/components/auth_imisbridge:/app/moodle/auth/imisbridge
# - ./components/plugins/moodle-imis/components/local_imisbridge:/app/moodle/local/imisbridge
# - ./components/plugins/moodle-imis/components/local_imisusermerge:/app/moodle/local/imisusermerge
# Tools
- ./scripts/config.php:/app/moodle/config.php
db:
build:
context: containers/mysql
volumes:
- mysql_db:/var/lib/mysql
volumes:
moodledata:
mysql_db: