forked from raccoongang/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-watchers.yml
30 lines (27 loc) · 1.2 KB
/
docker-compose-watchers.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
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.devstack.lms_watcher
environment:
BOK_CHOY_HOSTNAME: edx.devstack.lms_watcher
ASSET_WATCHER_TIMEOUT: 12
image: edxops/edxapp:${OPENEDX_RELEASE:-latest}
volumes:
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform:cached
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
- ${DEVSTACK_WORKSPACE}/src:/edx/src:cached
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.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/
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform:cached
- ${DEVSTACK_WORKSPACE}/src:/edx/src:cached
volumes:
edxapp_lms_assets:
edxapp_studio_assets: