Skip to content

Commit

Permalink
Set IS_DEV_SERVER env variable for django container
Browse files Browse the repository at this point in the history
  • Loading branch information
MattyMay committed Nov 21, 2024
1 parent 3a61956 commit b34c23e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ services:
env_file:
- ./autograder-server/_dev.env
environment:
# This is checked in the django settings to enable the debug toolbar
IS_DEV_SERVER: 'true'

USE_NGINX_X_ACCEL: 'true'
# Set to false to disable real authentication. Any other string value
# will enable real authentication.
Expand Down Expand Up @@ -89,7 +92,6 @@ services:
- redisdata:/data

rabbitmq:
image: 127.0.0.1:5000/rabbitmq
restart: unless-stopped
image: rabbitmq:latest
container_name: ag-dev-rabbitmq
Expand Down

0 comments on commit b34c23e

Please sign in to comment.