25 lines
827 B
Bash
25 lines
827 B
Bash
# 数据库连接配置(生产库)
|
|
PG_HOST=222.243.55.42
|
|
PG_PORT=26532
|
|
PG_DATABASE=xintong
|
|
PG_USERNAME=postgres
|
|
PG_PASSWORD=7F0d9T7SOroYqgXqtZ7tHL2SbnvUljHe
|
|
|
|
# RustFS 对象存储配置(S3 兼容、path-style 访问;单个 AK 可同时访问两个桶)
|
|
RUSTFS_ENDPOINT=222.243.55.42
|
|
RUSTFS_PORT=26900
|
|
RUSTFS_USE_SSL=false
|
|
RUSTFS_ACCESS_KEY=7pyFyHpZhAtANjQaG9gj
|
|
RUSTFS_SECRET_KEY=lLwpK0U6KaAtiuczLiJu2zVz3JevLPM4a4WRKqEO
|
|
RUSTFS_REGION=us-east-1
|
|
# 两个存储桶(同时配置),实际使用由 RUSTFS_BUCKET 决定
|
|
RUSTFS_BUCKET_PROD=xintong
|
|
RUSTFS_BUCKET_TEST=xintong-test
|
|
# 当前生效的存储桶:生产=xintong,本地测试桶在 .env.local 中覆盖为 xintong-test
|
|
RUSTFS_BUCKET=xintong
|
|
|
|
# Redis 配置(与 PostgreSQL / RustFS 同机部署)
|
|
REDIS_HOST=222.243.55.42
|
|
REDIS_PORT=26678
|
|
REDIS_PASSWORD=
|