From 371b0b38577e317760ca9396c58cca3e65cfdce9 Mon Sep 17 00:00:00 2001 From: LeeJongBeom <52884648+devleejb@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:48:35 +0900 Subject: [PATCH] Fix Typo in Environment (#97) * Fix typo in env * Change template environment --- backend/.env | 12 ++++++------ backend/docker/docker-compose-full.yml | 2 +- backend/docker/docker-compose.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/.env b/backend/.env index a1ad7521..405055c4 100644 --- a/backend/.env +++ b/backend/.env @@ -1,6 +1,6 @@ -DATABASE_URL="" -GITHUB_CLIENT_ID="" -GITHUB_CLIENT_SECRET="" -GITHUB_CLIENT_CALLBACK_URL="" -JWT_AUTH_SECRET="" -FRONTEND_BASE_URL="" \ No newline at end of file +DATABASE_URL="DATABASE_URL" +GITHUB_CLIENT_ID="GITHUB_CLIENT_ID" +GITHUB_CLIENT_SECRET="GITHUB_CLIENT_SECRET" +GITHUB_CALLBACK_URL="/auth/login/github" +JWT_AUTH_SECRET="JWT_AUTH_SECRET" +FRONTEND_BASE_URL="FRONTEND_BASE_URL" \ No newline at end of file diff --git a/backend/docker/docker-compose-full.yml b/backend/docker/docker-compose-full.yml index befb3713..be326f1b 100644 --- a/backend/docker/docker-compose-full.yml +++ b/backend/docker/docker-compose-full.yml @@ -9,7 +9,7 @@ services: # Environment variables need to be passed to the container GITHUB_CLIENT_ID: "GITHUB_CLIENT_ID" GITHUB_CLIENT_SECRET: "GITHUB_CLIENT_SECRET" - GITHUB_CLIENT_CALLBACK_URL: "GITHUB_CLIENT_CALLBACK_URL" + GITHUB_CALLBACK_URL: "/auth/login/github" JWT_AUTH_SECRET: "JWT_AUTH_SECRET" FRONTEND_BASE_URL: "FRONTEND_BASE_URL" ports: diff --git a/backend/docker/docker-compose.yml b/backend/docker/docker-compose.yml index b00cf8e1..1c3c853b 100644 --- a/backend/docker/docker-compose.yml +++ b/backend/docker/docker-compose.yml @@ -8,7 +8,7 @@ services: DATABASE_URL: "DATABASE_URL" GITHUB_CLIENT_ID: "GITHUB_CLIENT_ID" GITHUB_CLIENT_SECRET: "GITHUB_CLIENT_SECRET" - GITHUB_CLIENT_CALLBACK_URL: "/auth/login/github" + GITHUB_CALLBACK_URL: "/auth/login/github" JWT_AUTH_SECRET: "JWT_AUTH_SECRET" FRONTEND_BASE_URL: "FRONTEND_BASE_URL" ports: