Implement user persistence via Firebase (khanon/oai-reverse-proxy!8)
This commit is contained in:
+13
-2
@@ -14,7 +14,10 @@
|
||||
# Note: CHECK_KEYS is disabled by default in local development mode, but enabled
|
||||
# by default in production mode.
|
||||
|
||||
# Optional settings for prompt logging to Google Sheets
|
||||
# Optional settings for user management. See docs/user-management.md.
|
||||
# GATEKEEPER=none
|
||||
|
||||
# Optional settings for prompt logging. See docs/logging-sheets.md.
|
||||
# PROMPT_LOGGING=false
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -26,9 +29,17 @@
|
||||
# You can add multiple keys by separating them with a comma.
|
||||
OPENAI_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
# You can require a bearer token to access the proxy by setting the key below.
|
||||
# You can require a Bearer token for requests when using proxy_token gatekeeper.
|
||||
# PROXY_KEY=your-secret-key
|
||||
|
||||
# You can set an admin key for user management when using user_token gatekeeper.
|
||||
# ADMIN_KEY=your-very-secret-key
|
||||
|
||||
# These are used for various persistence features. Refer to the docs for more
|
||||
# info.
|
||||
# FIREBASE_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
# FIREBASE_RTDB_URL=https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.firebaseio.com
|
||||
|
||||
# This is only relevant if you want to use the prompt logging feature.
|
||||
# GOOGLE_SHEETS_SPREADSHEET_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
# GOOGLE_SHEETS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
Reference in New Issue
Block a user