-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
40 lines (33 loc) · 1.05 KB
/
docker-compose.yml
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
version: '2.4'
services:
moodle:
image: robecehub/moodle:1.0.38
#build:
# context: 3-debian-10
# dockerfile: Dockerfile
hostname: moodle
environment:
# Debug and tracing
- NAMI_DEBUG=--log-level=trace
# Database
- MOODLE_DATABASE_TYPE=mysqli # set mariadb or mysqli
- MARIADB_HOST=moodledb02.mysql.database.azure.com
- MARIADB_PORT_NUMBER=3306
- MOODLE_DATABASE_NAME=moodle
- MOODLE_DATABASE_USER=moodleuser
- MOODLE_DATABASE_PASSWORD=Password.123
# User and Site Configuration
- MOODLE_SITE_NAME=NewSite
- MOODLE_USERNAME=admin
- MOODLE_PASSWORD=Password.123
# PHP Environment Variables
- PHP_MEMORY_LIMIT=250M
# Installation (set no for first time database configuration, yes to connect to previously configured database)
- MOODLE_SKIP_INSTALL=yes
ports:
- 8080:8080
- 8443:8443
volumes:
- .\volume\moodle:/bitnami/moodle
- .\volume\moodledata:/bitnami/moodledata