-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv_moodle_example
43 lines (33 loc) · 959 Bytes
/
env_moodle_example
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
40
41
42
43
# date time & languages
TZ=America/Argentina/Mendoza
MOODLE_lang=es
#### nging proxy reverse and SSL
VIRTUAL_HOST=localhost
VIRTUAL_PORT=8011
VIRTUAL_URL=/moodle
# If the docker is behind a reverse proxy
# MOODLE_reverseproxy=true
# If the reverse proxy is SSL
# MOODLE_sslproxy=true
# This is generated when starting the container with the previous variables
# MOODLE_wwwroot=http://$VIRTUAL_HOST:$VIRTUAL_PORT$VIRTUAL_URL
# DB Connect
MOODLE_dbtype=mysqli
MOODLE_dbhost=db
MOODLE_dbname=moodle
MOODLE_dbuser=moodle
MOODLE_dbpass=moodlepwd@
# DB Options
MOODLE_prefix=mdl_
MOODLE_dblibrary=native
MOODLE_dboptions__dbpersist=false
MOODLE_dboptions__dbsocket=false
MOODLE_dboptions__dbport=3306
MOODLE_dboptions__dbhandlesoptions=false
MOODLE_dboptions__dbcollation=utf8mb4_unicode_ci
# Directory and permission
MOODLE_dataroot=/var/moodledata
MOODLE_directorypermissions=02777
MOODLE_admin=admin
# log username in access_log
MOODLE_apacheloguser=2