From b34c23e74adbab990a24900235de5a75e38bda7f Mon Sep 17 00:00:00 2001 From: Matt Mayfield Date: Thu, 21 Nov 2024 17:42:22 -0500 Subject: [PATCH] Set IS_DEV_SERVER env variable for django container --- docker-compose-dev.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 776e550..83cb9f5 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -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. @@ -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