From ee34b588a07d56ee5448b6159ab4f9d1248106ba Mon Sep 17 00:00:00 2001 From: Abbas Toof Date: Fri, 16 Aug 2024 12:36:58 +0300 Subject: [PATCH] removed extra variables from tools.sh in frontend and updated \'sample env\' --- Frontend/tools.sh | 6 ------ sample env | 9 +++++++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Frontend/tools.sh b/Frontend/tools.sh index 328e28c..434f30f 100644 --- a/Frontend/tools.sh +++ b/Frontend/tools.sh @@ -1,23 +1,17 @@ #!/bin/bash -USER_SERVICE_URL="http://user-service:8001/user/register/" - # Wait until the Django server is available while ! curl -s "${USER_SERVICE_URL}" >/dev/null; do echo "Waiting for Django server at ${USER_SERVICE_URL}..." sleep 5 done -AUTH_SERVICE_URL="http://token-service:8000/" - # Wait until the Auth server is available while ! curl -s "${AUTH_SERVICE_URL}" >/dev/null; do echo "Waiting for Auth server at ${AUTH_SERVICE_URL}..." sleep 5 done -GAME_HISTORY_URL="http://game-history:8002/" - # Wait until the Auth server is available while ! curl -s "${GAME_HISTORY_URL}" >/dev/null; do echo "Waiting for Auth server at ${GAME_HISTORY_URL}..." diff --git a/sample env b/sample env index af7ab8c..a505680 100644 --- a/sample env +++ b/sample env @@ -4,7 +4,12 @@ DB_USER = "root" DB_PASS = "root" - +TOKEN_SERVICE = "http://token-service:8000" +USER_SERVICE = "http://user-service:8001" +GAME_HISTORY = "http://game-history:8002" PGPASSWORD='root' +DJANGO_SECRET = "django-insecure-woftd2en2**zr(b%#*2vit2v%s@(k54gb^c(ots0abo7(wsmo%" +PGSQL_HOST = 'postgresql' + USER_SERVICE_EMAIL = 'trancendance10@gmail.com' -USER_SERVICE_PASS = 'prie kqkh dled hlme' \ No newline at end of file +USER_SERVICE_PASS = 'prie kqkh dled hlme'