Update environment variables and prod config
Browse filesMoved and cleaned up several PUBLIC_* variables in .env for better organization. Added PUBLIC_ORIGIN and PUBLIC_PLAUSIBLE_SCRIPT_URL to chart/env/prod.yaml to ensure correct values in production.
- .env +6 -11
- chart/env/prod.yaml +2 -0
.env
CHANGED
|
@@ -24,7 +24,12 @@ PUBLIC_APP_GUEST_MESSAGE=# a message to the guest user. If not set, no message w
|
|
| 24 |
PUBLIC_APP_NAME=ChatUI # name used as title throughout the app
|
| 25 |
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
|
| 26 |
PUBLIC_APP_DESCRIPTION=# description used throughout the app
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
COUPLE_SESSION_WITH_COOKIE_NAME=
|
| 30 |
OPENID_CLIENT_ID=
|
|
@@ -105,16 +110,6 @@ TRUSTED_EMAIL_HEADER=# header to use to get the user email, only use if you know
|
|
| 105 |
ADMIN_CLI_LOGIN=true # set to false to disable the CLI login
|
| 106 |
ADMIN_TOKEN=#We recommend leaving this empty, you can get the token from the terminal.
|
| 107 |
|
| 108 |
-
PUBLIC_SMOOTH_UPDATES=false # set to true to enable smoothing of messages client-side, can be CPU intensive
|
| 109 |
-
PUBLIC_ORIGIN=#https://huggingface.co
|
| 110 |
-
PUBLIC_SHARE_PREFIX=#https://hf.co/chat
|
| 111 |
-
|
| 112 |
-
# mostly huggingchat specific
|
| 113 |
-
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
| 114 |
-
PUBLIC_PLAUSIBLE_SCRIPT_URL=#/js/script.js / Leave empty to disable
|
| 115 |
-
PUBLIC_APPLE_APP_ID=#1234567890 / Leave empty to disable
|
| 116 |
-
|
| 117 |
-
|
| 118 |
### Feature Flags ###
|
| 119 |
LLM_SUMMARIZATION=true # generate conversation titles with LLMs
|
| 120 |
|
|
|
|
| 24 |
PUBLIC_APP_NAME=ChatUI # name used as title throughout the app
|
| 25 |
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
|
| 26 |
PUBLIC_APP_DESCRIPTION=# description used throughout the app
|
| 27 |
+
PUBLIC_SMOOTH_UPDATES=false # set to true to enable smoothing of messages client-side, can be CPU intensive
|
| 28 |
+
PUBLIC_ORIGIN=
|
| 29 |
+
PUBLIC_SHARE_PREFIX=
|
| 30 |
+
PUBLIC_GOOGLE_ANALYTICS_ID=
|
| 31 |
+
PUBLIC_PLAUSIBLE_SCRIPT_URL=
|
| 32 |
+
PUBLIC_APPLE_APP_ID=
|
| 33 |
|
| 34 |
COUPLE_SESSION_WITH_COOKIE_NAME=
|
| 35 |
OPENID_CLIENT_ID=
|
|
|
|
| 110 |
ADMIN_CLI_LOGIN=true # set to false to disable the CLI login
|
| 111 |
ADMIN_TOKEN=#We recommend leaving this empty, you can get the token from the terminal.
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
### Feature Flags ###
|
| 114 |
LLM_SUMMARIZATION=true # generate conversation titles with LLMs
|
| 115 |
|
chart/env/prod.yaml
CHANGED
|
@@ -65,6 +65,8 @@ envVars:
|
|
| 65 |
MESSAGES_BEFORE_LOGIN: "999"
|
| 66 |
PUBLIC_APP_ASSETS: "huggingchat"
|
| 67 |
PUBLIC_APP_NAME: "HuggingChat"
|
|
|
|
|
|
|
| 68 |
|
| 69 |
TASK_MODEL: "Qwen/Qwen3-4B-Instruct-2507"
|
| 70 |
LLM_ROUTER_ARCH_BASE_URL: "https://router.huggingface.co/v1"
|
|
|
|
| 65 |
MESSAGES_BEFORE_LOGIN: "999"
|
| 66 |
PUBLIC_APP_ASSETS: "huggingchat"
|
| 67 |
PUBLIC_APP_NAME: "HuggingChat"
|
| 68 |
+
PUBLIC_ORIGIN: "https://huggingface.co"
|
| 69 |
+
PUBLIC_PLAUSIBLE_SCRIPT_URL: "/js/script.js"
|
| 70 |
|
| 71 |
TASK_MODEL: "Qwen/Qwen3-4B-Instruct-2507"
|
| 72 |
LLM_ROUTER_ARCH_BASE_URL: "https://router.huggingface.co/v1"
|