Skip to content

Commit

Permalink
feat: Make live-reloading explicit for codejail (#104)
Browse files Browse the repository at this point in the history
This goes with edx/public-dockerfiles#92 which
switches the default CMD from runserver to gunicorn; we want to keep
runserver.
  • Loading branch information
timmc-edx authored Jan 31, 2025
1 parent 3a3d2f5 commit 7ac041b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ services:
C_FORCE_ROOT: "true"

codejail:
command: bash -c 'source /venv/bin/activate; while true; do python ./manage.py runserver 0.0.0.0:8080; sleep 2; done'
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.codejail"
hostname: codejail.devstack.edx
stdin_open: true
Expand Down

0 comments on commit 7ac041b

Please sign in to comment.