-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
42 lines (38 loc) · 1.09 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
version: "2.1"
services:
db:
image: mysql:5.6
container_name: program_intent_engagement.db
environment:
MYSQL_ROOT_PASSWORD: ""
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
networks:
- devstack_default
volumes:
- program_intent_engagement_mysql:/var/lib/mysql
memcache:
image: memcached:1.4.24
container_name: program_intent_engagement.memcache
app:
# Uncomment this line to use the official program_intent_engagement base image
# image: openedx/program_intent_engagement
build:
context: .
dockerfile: Dockerfile
container_name: program_intent_engagement.app
volumes:
- .:/edx/app/program-intent-engagement
command: bash -c 'while true; do python /edx/app/program-intent-engagement/manage.py runserver 0.0.0.0:18781; sleep 2; done'
environment:
DJANGO_SETTINGS_MODULE: program_intent_engagement.settings.devstack
ports:
- "18781:18781"
networks:
- devstack_default
stdin_open: true
tty: true
networks:
devstack_default:
external: true
volumes:
program_intent_engagement_mysql: