更新env.example

This commit is contained in:
2026-02-02 11:47:49 +08:00
parent 35abaa1ebb
commit e4c8b03277

View File

@@ -22,13 +22,22 @@ DB_PORT=5432
DB_USER=postgres DB_USER=postgres
DB_PASSWORD=password 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 配置 (时序数据)
# ============================================ # ============================================
INFLUXDB_URL=http://localhost:8086 # INFLUXDB_URL=http://localhost:8086
INFLUXDB_TOKEN=your-influxdb-token # INFLUXDB_TOKEN=your-influxdb-token
INFLUXDB_ORG=your-org # INFLUXDB_ORG=your-org
INFLUXDB_BUCKET=tjwater # INFLUXDB_BUCKET=tjwater
# ============================================ # ============================================
# JWT 配置 (可选) # JWT 配置 (可选)