-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (51 loc) · 1.34 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3.4"
services:
# === Open edX FORUM ===
mongodb:
image: mongo:3.2
# We use WiredTiger in all environments. In development environments we use small files
# to conserve disk space, and disable the journal for a minor performance gain.
# See https://docs.mongodb.com/v3.0/reference/program/mongod/#options for complete details.
command: mongod --smallfiles --nojournal --storageEngine wiredTiger
elasticsearch:
image: elasticsearch:1.5.2
forum:
build:
context: .
image: forum:latest
env_file: .env
ports:
- "9292:9292"
depends_on:
- mongodb
- elasticsearch
- lms
# === Open edX LMS ===
mysql:
image: mysql:5.6
ports:
- "3316:3306"
env_file: .env
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
memcached:
image: memcached:1.4
mailcatcher:
image: sj26/mailcatcher:latest
ports:
- "1080:1080"
lms:
build:
context: .
dockerfile: docker/images/edx-platform/Dockerfile
image: edxapp:forum
env_file: .env
ports:
- "8000:8000"
command: >
dockerize -wait tcp://mysql:3306 -timeout 60s
python manage.py lms runserver 0.0.0.0:8000 --settings=fun.docker_run_development
depends_on:
- mailcatcher
- mysql
- mongodb
- memcached