forked from jda/docker-moodle
-
Notifications
You must be signed in to change notification settings - Fork 56
/
moodle_variables.env
37 lines (24 loc) · 1.09 KB
/
moodle_variables.env
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
# moodle envireonment variables file
# v3 compose does not insert env variables for linked containers. In order not to break old deployments and new deployments, filling both fields
# one used by MYSQL container and the other is used by moodle standing in for env variables that v1 would have populated.
# database name
MYSQL_DATABASE=moodle
DB_ENV_MYSQL_DATABASE=moodle
# mysql root user password
MYSQL_ROOT_PASSWORD=moodle
# mysql moodle user
MYSQL_USER=moodle
DB_ENV_MYSQL_USER=moodle
# mysql moodle user password
MYSQL_PASSWORD=moodle
DB_ENV_MYSQL_PASSWORD=moodle
# db port for Mysql
DB_PORT_3306_TCP_ADDR=DB
# moodle url, if running locally, localhost is fine.
# you should use an FQDN here and setup that record for resolution inside DNS to your resulting containers.
# or use service discovery. This is used in moodle's internal redirects. If for testing only, use of http://localhost
# will be fine. But for production deployments you should leverage an FQDN.
MOODLE_URL=http://localhost
#MOODLE_URL=http://moodle.company.com
# Enable when using external SSL reverse proxy
SSL_PROXY=false