forked from edx/edx-exams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (35 loc) · 899 Bytes
/
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.1"
services:
db:
image: mysql:5.6
container_name: edx_exams.db
environment:
MYSQL_ROOT_PASSWORD: ""
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
networks:
- devstack_default
volumes:
- edx_exams_mysql:/var/lib/mysql
memcache:
image: memcached:1.4.24
container_name: edx_exams.memcache
app:
# Uncomment this line to use the official edx_exams base image
image: openedx/edx_exams
container_name: edx_exams.app
volumes:
- .:/edx/app/edx-exams/
command: bash -c 'while true; do python /edx/app/edx-exams/manage.py runserver 0.0.0.0:18740; sleep 2; done'
environment:
DJANGO_SETTINGS_MODULE: edx_exams.settings.devstack
ports:
- "18740:18740"
networks:
- devstack_default
stdin_open: true
tty: true
networks:
devstack_default:
external: true
volumes:
edx_exams_mysql: