This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 422
/
docker-compose-watchers.yml
43 lines (40 loc) · 1.68 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
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:
FRONTEND_TEST_SERVER_HOSTNAME: edx.devstack.lms_watcher
ASSET_WATCHER_TIMEOUT: 12
image: openedx/lms-dev:${OPENEDX_RELEASE:-latest}
volumes:
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
- edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
- ${DEVSTACK_WORKSPACE}/src:/edx/src
- ${DEVSTACK_WORKSPACE}/edx-themes:/edx/app/edx-themes
networks:
default:
aliases:
- edx.devstack.lms_watcher
cms_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}.cms_watcher"
environment:
FRONTEND_TEST_SERVER_HOSTNAME: edx.devstack.cms_watcher
ASSET_WATCHER_TIMEOUT: 12
image: openedx/lms-dev:${OPENEDX_RELEASE:-latest}
volumes:
- edxapp_cms_assets:/edx/var/edxapp/staticfiles/
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform
- edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
- ${DEVSTACK_WORKSPACE}/src:/edx/src
- ${DEVSTACK_WORKSPACE}/edx-themes:/edx/app/edx-themes
networks:
default:
aliases:
- edx.devstack.cms_watcher
volumes:
edxapp_lms_assets:
edxapp_cms_assets:
edxapp_node_modules: