From e4c8b03277cd211cfdf502bd196e48f1abf41820 Mon Sep 17 00:00:00 2001 From: Jiang Date: Mon, 2 Feb 2026 11:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0env.example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index e0b1baf..b780d15 100644 --- a/.env.example +++ b/.env.example @@ -22,13 +22,22 @@ DB_PORT=5432 DB_USER=postgres DB_PASSWORD=password +# ============================================ +# 数据库配置 (TimescaleDB) +# ============================================ +TIMESCALEDB_DB_NAME=szh +TIMESCALEDB_DB_HOST=localhost +TIMESCALEDB_DB_PORT=5433 +TIMESCALEDB_DB_USER=tjwater +TIMESCALEDB_DB_PASSWORD=Tjwater@123456 + # ============================================ # InfluxDB 配置 (时序数据) # ============================================ -INFLUXDB_URL=http://localhost:8086 -INFLUXDB_TOKEN=your-influxdb-token -INFLUXDB_ORG=your-org -INFLUXDB_BUCKET=tjwater +# INFLUXDB_URL=http://localhost:8086 +# INFLUXDB_TOKEN=your-influxdb-token +# INFLUXDB_ORG=your-org +# INFLUXDB_BUCKET=tjwater # ============================================ # JWT 配置 (可选)