This repository was archived by the owner on Aug 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ services:
195195 aliases :
196196 - edx.devstack.mongo
197197 ports :
198- - " 27017:27017"
198+ - " 27017:27017"
199199 volumes :
200200 - mongo_data:/data/db
201201 - mongo_config_data:/data/configdb
@@ -419,6 +419,8 @@ services:
419419 - edx.devstack.forum
420420 ports :
421421 - " 44567:4567"
422+ volumes :
423+ - ${PWD}/configuration_files/forum.yml:/edx/etc/forum.yml
422424
423425 lms :
424426 command : bash -c 'source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py lms runserver 0.0.0.0:18000 --settings devstack_docker; sleep 2; done'
Original file line number Diff line number Diff line change 22set -eu -o pipefail
33set -x
44
5- docker compose up -d forum
6- docker compose exec -T forum bash -e -c ' source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install --deployment --path /edx/app/forum/.gem/ && bin/rake search:initialize'
5+ name=forum
6+
7+ docker compose up -d ${name}
8+ docker compose exec -T ${name} bash -e -c ' cd /edx/app/forum/cs_comments_service && make initialize_search' -- " $name "
You can’t perform that action at this time.
0 commit comments