-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.edx.yml
83 lines (75 loc) · 2.07 KB
/
docker-compose.edx.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.2"
services:
edx_mysql:
image: mysql:5.6
ports:
- "3316:3306"
env_file: env.d/edx
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
networks:
potsie_default:
aliases:
- edx_mysql
default:
edx_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
edx_redis:
image: redis:4.0.10-alpine
edx_mailcatcher:
image: sj26/mailcatcher:latest
ports:
- "1080:1080"
edx_lms:
image: ${EDXAPP_IMAGE:-fundocker/edxapp:dogwood.3-fun-2.0.0}
env_file:
- env.d/edx
environment:
SERVICE_VARIANT: lms
DJANGO_SETTINGS_MODULE: lms.envs.fun.docker_run
ports:
- "8072:8000"
user: ${DOCKER_UID}:${DOCKER_GID}
volumes:
- ./data/edx/media:/edx/var/edxapp/media
- ./data/edx/store:/edx/app/edxapp/data
- ./edx/config:/config
- ./docker/files/usr/local/bin/auth_init:/usr/local/bin/auth_init
command: >
python manage.py lms runserver 0.0.0.0:8000
depends_on:
- graylog
- edx_mailcatcher
- edx_mysql
- edx_mongodb
- edx_redis
networks:
- default
edx_cms:
image: ${EDXAPP_IMAGE:-fundocker/edxapp:dogwood.3-fun-2.0.0}
env_file:
- env.d/edx
environment:
SERVICE_VARIANT: cms
DJANGO_SETTINGS_MODULE: cms.envs.fun.docker_run
ports:
- "8082:8000"
user: ${DOCKER_UID}:${DOCKER_GID}
volumes:
- ./data/edx/media:/edx/var/edxapp/media
- ./data/edx/store:/edx/app/edxapp/data
- ./edx/config:/config
command: >
python manage.py cms runserver 0.0.0.0:8000
depends_on:
- edx_lms
networks:
- default
dockerize:
image: jwilder/dockerize
networks:
potsie_default:
external: true