From 4adfc8fc8005540af754730ce789c37c137dcf8e Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Mon, 16 Dec 2024 17:47:28 +0800 Subject: [PATCH] fix: env example --- .gitignore | 8 ++++---- server/.env.example | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 363d10e4..37ec3e0e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# Docker volumnes +docker/volumes/db/data +docker/volumes/storage + # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. __pycache__/ *.pyc @@ -59,7 +63,3 @@ next-env.d.ts dist/ lui/src/style.css - -# Docker volumnes -/docker/volumes/db/ -/docker/volumes/storage/ diff --git a/server/.env.example b/server/.env.example index 5da4a18c..06e94291 100644 --- a/server/.env.example +++ b/server/.env.example @@ -32,7 +32,7 @@ POOLER_TENANT_ID=your-tenant-id # API Proxy - Configuration for the Kong Reverse proxy. ############ -KONG_HTTP_PORT=8000 +KONG_HTTP_PORT=8001 KONG_HTTPS_PORT=8443 @@ -88,9 +88,9 @@ STATIC_URL=STATIC_URL FASTAPI_SECRET_KEY=fastapi_secret_key # `Project URL` field of https://supabase.com/dashboard/project/_/settings/database -SUPABASE_URL=https://xxxx.supabase.co +SUPABASE_URL=${SUPABASE_PUBLIC_URL} # `Project API keys`: `anon public` field of https://supabase.com/dashboard/project/_/settings/database -SUPABASE_SERVICE_KEY=xxxx.yyyy.zzzz-aaa +SUPABASE_SERVICE_KEY=${SERVICE_ROLE_KEY} SUPABASE_PASSWORD=aABCDEFG # OpenAI API KEY