From 86054a1ef5880db77336c57b07590d5ae0eb4a68 Mon Sep 17 00:00:00 2001 From: ytqh Date: Sat, 18 Jan 2025 21:08:07 +0800 Subject: [PATCH] Revert "add supertokens path" This reverts commit c12f8ac83d559fbd76046208b345c8da17249830. --- docker/docker-compose.yaml | 4 ---- docker/nginx/conf.d/default.conf.template | 5 ----- 2 files changed, 9 deletions(-) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 1c8ae88fec..004436295b 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -426,7 +426,6 @@ services: depends_on: - db - redis - - supertokens volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage @@ -469,9 +468,6 @@ services: TEXT_GENERATION_TIMEOUT_MS: ${TEXT_GENERATION_TIMEOUT_MS:-60000} CSP_WHITELIST: ${CSP_WHITELIST:-} TOP_K_MAX_VALUE: ${TOP_K_MAX_VALUE:-} - SUPERTOKENS_API_URL: ${SUPERTOKENS_API_URL:-http://supertokens:3567} - SUPERTOKENS_WEBSITE_DOMAIN: ${SUPERTOKENS_WEBSITE_DOMAIN:-http://localhost:3000} - SUPERTOKENS_API_DOMAIN: ${SUPERTOKENS_API_DOMAIN:-http://supertokens:3567} # The postgres database. db: diff --git a/docker/nginx/conf.d/default.conf.template b/docker/nginx/conf.d/default.conf.template index aff5a27cdb..9691122cea 100644 --- a/docker/nginx/conf.d/default.conf.template +++ b/docker/nginx/conf.d/default.conf.template @@ -29,11 +29,6 @@ server { include proxy.conf; } - location /supertokens { - proxy_pass http://supertokens:3567; - include proxy.conf; - } - # placeholder for acme challenge location ${ACME_CHALLENGE_LOCATION}