Commit 82a0f198 by Eric Fischer

Un-revert asset watcher container additions

This reverts commit 21aed9b4.
This reverts commit 743dbd0b.
parent d31a6a32
......@@ -120,7 +120,7 @@ lms-shell: ## Run a shell on the LMS container
docker exec -it edx.devstack.lms env TERM=$(TERM) /edx/app/edxapp/devstack.sh open
lms-attach: ## Attach to the LMS container process to use the debugger & see logs.
docker attach `docker ps -aqf "name=edx.devstack.lms"`
docker attach `docker ps -aqf "name=edx.devstack.lms$$"`
studio-shell: ## Run a shell on the Studio container
docker exec -it edx.devstack.studio env TERM=$(TERM) /edx/app/edxapp/devstack.sh open
......@@ -140,7 +140,7 @@ studio-static: ## Rebuild static assets for the Studio container
static: | credentials-static discovery-static ecommerce-static lms-static studio-static ## Rebuild static assets for all service containers
studio-attach: ## Attach to the Studio container process to use the debugger & see logs.
docker attach `docker ps -aqf "name=edx.devstack.studio"`
docker attach `docker ps -aqf "name=edx.devstack.studio$$"`
healthchecks: ## Run a curl against all services' healthcheck endpoints to make sure they are up. This will eventually be parameterized
./healthchecks.sh
......
......@@ -14,10 +14,16 @@ services:
volumes:
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform:cached
- ${DEVSTACK_WORKSPACE}/src:/edx/src:cached
lms_watcher:
volumes:
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform:cached
studio:
volumes:
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform:cached
- ${DEVSTACK_WORKSPACE}/src:/edx/src:cached
studio_watcher:
volumes:
- ${DEVSTACK_WORKSPACE}/edx-platform:/edx/app/edxapp/edx-platform:cached
forum:
volumes:
- ${DEVSTACK_WORKSPACE}/cs_comments_service:/edx/app/forum/cs_comments_service:cached
......
......@@ -149,6 +149,15 @@ services:
volumes:
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
lms_watcher:
command: bash -c 'cd /edx/app/edxapp/edx-platform && source ../edxapp_env && while true; do paver watch_assets; sleep 2; done'
container_name: edx.devstack.lms_watcher
environment:
BOK_CHOY_HOSTNAME: edx.devstack.lms_watcher
image: edxops/edxapp:latest
volumes:
- edxapp_lms_assets:/edx/var/edxapp/staticfiles/
studio:
command: bash -c 'source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py cms runserver 0.0.0.0:18010 --settings devstack_docker; sleep 2; done'
container_name: edx.devstack.studio
......@@ -174,6 +183,15 @@ services:
volumes:
- edxapp_studio_assets:/edx/var/edxapp/staticfiles/
studio_watcher:
command: bash -c 'cd /edx/app/edxapp/edx-platform && source ../edxapp_env && while true; do paver watch_assets; sleep 2; done'
container_name: edx.devstack.studio_watcher
environment:
BOK_CHOY_HOSTNAME: edx.devstack.studio_watcher
image: edxops/edxapp:latest
volumes:
- edxapp_studio_assets:/edx/var/edxapp/staticfiles/
forum:
command: bash -c 'source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && while true; do ruby app.rb -o 0.0.0.0 ; sleep 2; done'
container_name: edx.devstack.forum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment