-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
59 lines (55 loc) · 1.16 KB
/
docker-compose.yaml
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
version: '2'
services:
front:
image: hkustvislab/vismooc-front-end:v0.6.0
ports:
- "0.0.0.0:8080:80"
depends_on:
- web
environment:
- WEB_SERVER_HOST=web
- WEB_SERVER_PORT=9999
logging:
driver: json-file
options:
max-size: "1g"
max-file: "10"
web:
image: hkustvislab/vismooc-web-server:elearning
volumes:
- ./config:/config
depends_on:
- db
- redis
logging:
driver: json-file
options:
max-size: "1g"
max-file: "10"
data:
image: hkustvislab/vismooc-data-server:elearning
volumes:
- ./config:/config
depends_on:
- db
- moocdb
logging:
driver: json-file
options:
max-size: "1g"
max-file: "10"
moocdb:
image: mysql:latest
environment:
- MYSQL_ROOT_PASSWORD= # fill your password here
volumes:
- socket:/var/run/mysqld
- /data/mitx/MITx__6_00_2x_7__1T2017/mysql:/var/lib/mysql # The directory on the left: datadir volume of MySQL service
redis:
image: redis
db:
image: mongo:3.4
volumes:
- ./database/data:/data
volumes:
socket: