forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-watchers-nfs.yml
43 lines (40 loc) · 1.6 KB
/
docker-compose-watchers-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
version: "2.1"
services:
lms_watcher:
command: bash -c 'cd /edx/app/edxapp/edx-platform && source ../edxapp_env && while true; do paver watch_assets --w=$$ASSET_WATCHER_TIMEOUT; sleep 2; done'
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.lms_watcher"
environment:
BOK_CHOY_HOSTNAME: edx.devstack.lms_watcher
ASSET_WATCHER_TIMEOUT: 12
image: edxops/edxapp:${OPENEDX_RELEASE:-latest}
volumes:
- edx-nfs:/edx/app/edxapp/edx-platform
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
- edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
- src-nfs:/edx/src
- ${DEVSTACK_WORKSPACE}/edx-themes:/edx/app/edx-themes:cached
networks:
default:
aliases:
- edx.devstack.lms_watcher
studio_watcher:
command: bash -c 'cd /edx/app/edxapp/edx-platform && source ../edxapp_env && while true; do paver watch_assets --w=$$ASSET_WATCHER_TIMEOUT; sleep 2; done'
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.studio_watcher"
environment:
BOK_CHOY_HOSTNAME: edx.devstack.studio_watcher
ASSET_WATCHER_TIMEOUT: 12
image: edxops/edxapp:${OPENEDX_RELEASE:-latest}
volumes:
- edxapp_studio_assets:/edx/var/edxapp/staticfiles/
- edx-nfs:/edx/app/edxapp/edx-platform
- edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
- src-nfs:/edx/src:cached
- ${DEVSTACK_WORKSPACE}/edx-themes:/edx/app/edx-themes:cached
networks:
default:
aliases:
- edx.devstack.studio_watcher
volumes:
edxapp_lms_assets:
edxapp_studio_assets:
edxapp_node_modules: