From 9cea89a5ab50adbbc0ccfeed4c312e4bd1b29de8 Mon Sep 17 00:00:00 2001 From: Jonathan Math Date: Mon, 8 Mar 2021 18:31:12 -0500 Subject: [PATCH] Revert "quiet the warning for TEST env variable in newsblur_web container" This reverts commit 89786e3e451813fd2788684d8c8421e4e2c2822a. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ee7c77804..10fd427f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: expose: - '8000' # only use gunicorn if the TEST env variable is not "True" - command: bash -c 'if [ -z "$${TEST}" ] ; then echo "starting test env"; else gunicorn --bind :8000 newsblur_web.wsgi:application; fi' + command: bash -c 'if [[ -z "${TEST}" && "${TEST}" = "True" ]] ; then echo "starting test env"; else gunicorn --bind :8000 newsblur_web.wsgi:application; fi' volumes: - app-files:/srv/newsblur nginx: