cryptorugmunch commited on
Commit ·
b2cdfce
1
Parent(s): f932ac4
security(status_page): remove hardcoded ClickHouse password fallback
Browse files
app/routers/status_page.py
CHANGED
|
@@ -120,7 +120,7 @@ def check_clickhouse() -> dict[str, Any]:
|
|
| 120 |
try:
|
| 121 |
ch_host = os.getenv("CH_HOST", "langfuse-clickhouse-1")
|
| 122 |
ch_user = os.getenv("CH_USER", "clickhouse")
|
| 123 |
-
ch_password = os.getenv("CH_PASSWORD", "
|
| 124 |
|
| 125 |
client = clickhouse_connect.get_client(
|
| 126 |
host=ch_host,
|
|
|
|
| 120 |
try:
|
| 121 |
ch_host = os.getenv("CH_HOST", "langfuse-clickhouse-1")
|
| 122 |
ch_user = os.getenv("CH_USER", "clickhouse")
|
| 123 |
+
ch_password = os.getenv("CH_PASSWORD", "change-me-in-env")
|
| 124 |
|
| 125 |
client = clickhouse_connect.get_client(
|
| 126 |
host=ch_host,
|