forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-host-nfs.yml
97 lines (94 loc) · 3.64 KB
/
docker-compose-host-nfs.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Update docker-compose-host.yml too in case of any change in this file.
version: "2.1"
services:
credentials:
volumes:
- ${DEVSTACK_WORKSPACE}/credentials:/edx/app/credentials/credentials:cached
- credentials_node_modules:/edx/app/credentials/credentials/node_modules
- src-nfs:/edx/src:cached
discovery:
volumes:
- ${DEVSTACK_WORKSPACE}/course-discovery:/edx/app/discovery/discovery:cached
- discovery_node_modules:/edx/app/discovery/discovery/node_modules
- src-nfs:/edx/src:cached
ecommerce:
volumes:
- ${DEVSTACK_WORKSPACE}/ecommerce:/edx/app/ecommerce/ecommerce:cached
- ecommerce_node_modules:/edx/app/ecommerce/ecommerce/node_modules
- src-nfs:/edx/src:cached
lms:
volumes:
- edx-nfs:/edx/app/edxapp/edx-platform
- edxapp_media:/edx/var/edxapp/media
- edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
- edxapp_uploads:/edx/var/edxapp/uploads
- src-nfs:/edx/src:cached
edx_notes_api:
volumes:
- ${DEVSTACK_WORKSPACE}/edx-notes-api:/edx/app/edx_notes_api/edx_notes_api:cached
- src-nfs:/edx/src:cached
studio:
volumes:
- edx-nfs:/edx/app/edxapp/edx-platform
- edxapp_media:/edx/var/edxapp/media
- edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
- edxapp_uploads:/edx/var/edxapp/uploads
- src-nfs:/edx/src:cached
forum:
volumes:
- ${DEVSTACK_WORKSPACE}/cs_comments_service:/edx/app/forum/cs_comments_service:cached
registrar:
volumes:
- ${DEVSTACK_WORKSPACE}/registrar:/edx/app/registrar/registrar
registrar-worker:
volumes:
- ${DEVSTACK_WORKSPACE}/registrar:/edx/app/registrar/registrar
gradebook:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-gradebook:/edx/app/gradebook:cached
- gradebook_node_modules:/edx/app/gradebook/node_modules
program-console:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-program-console:/edx/app/program-console:cached
- program_console_node_modules:/edx/app/program-console/node_modules
frontend-app-learning:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-learning:/edx/app/frontend-app-learning:cached
- frontend_app_learning_node_modules:/edx/app/frontend-app-learning/node_modules
course-authoring:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-course-authoring:/edx/app/frontend-app-course-authoring:cached
- course_authoring_node_modules:/edx/app/frontend-app-course-authoring/node_modules
frontend-app-publisher:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-publisher:/edx/app/frontend-app-publisher:cached
- frontend_app_publisher_node_modules:/edx/app/frontend-app-publisher/node_modules
frontend-app-library-authoring:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-library-authoring:/edx/app/frontend-app-library-authoring:cached
- frontend_app_library_authoring_node_modules:/edx/app/frontend-app-library-authoring/node_modules
volumes:
credentials_node_modules:
discovery_node_modules:
ecommerce_node_modules:
edxapp_media:
edxapp_node_modules:
edxapp_uploads:
gradebook_node_modules:
program_console_node_modules:
frontend_app_learning_node_modules:
frontend_app_publisher_node_modules:
course_authoring_node_modules:
frontend_app_library_authoring_node_modules:
edx-nfs:
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
device: :${DEVSTACK_WORKSPACE}/edx-platform
src-nfs:
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
device: :${DEVSTACK_WORKSPACE}/src