From 79794c5c4135b4cea08e5f3644368f15ddcbb6b4 Mon Sep 17 00:00:00 2001 From: "coord.e" Date: Thu, 26 Jul 2018 18:37:35 +0900 Subject: [PATCH] Fix: Fix where environemnt variables are placed in --- unit_test/docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unit_test/docker-compose.yml b/unit_test/docker-compose.yml index 609f135..8ba43b1 100644 --- a/unit_test/docker-compose.yml +++ b/unit_test/docker-compose.yml @@ -7,15 +7,16 @@ services: command: "test" environment: - "CI=1" + - "REACT_APP_RECAPTCHA_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" volumes: - "../${FRONTEND_DIR}:/code" - - "REACT_APP_RECAPTCHA_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" - /code/node_modules backend: build: dockerfile: ../unit_test/Dockerfile.backend context: ../${BACKEND_DIR} command: "test" + environment: + - RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe volumes: - "../${BACKEND_DIR}:/code" - - RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe