From 4cff2cb03b621dc9009e7125afd3ce236b29af2d Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Tue, 22 Sep 2020 14:22:34 +0300 Subject: [PATCH] updated config file --- docker/red-ui/docker-entrypoint.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/red-ui/docker-entrypoint.sh b/docker/red-ui/docker-entrypoint.sh index ba0c28aeb..e21f8d703 100755 --- a/docker/red-ui/docker-entrypoint.sh +++ b/docker/red-ui/docker-entrypoint.sh @@ -6,9 +6,10 @@ KEYCLOAK_REALM="${KEYCLOAK_REALM:-dev}" API_URL="${API_URL:-}" echo '{ - "API_CLIENT":"'"$API_CLIENT"', - "KEYCLOAK_URL":"'"$KEYCLOAK_URL"', - "KEYCLOAK_REALM":"'"$KEYCLOAK_REALM"', - "API_URL":"'"$API_URL"'}' > /usr/share/nginx/html/assets/config/config.json + "API_CLIENT":"'"$API_CLIENT"'", + "KEYCLOAK_URL":"'"$KEYCLOAK_URL"'", + "KEYCLOAK_REALM":"'"$KEYCLOAK_REALM"'", + "API_URL":"'"$API_URL"'" + }' > /usr/share/nginx/html/assets/config/config.json nginx -g 'daemon off;'