NODE_ENV=development
APP_PORT=3099
DATABASE_URL="file:./data/snapshot.db"
# Docker 部署时 docker-compose 覆盖为绝对路径: file:/app/data/snapshot.db

# PostgreSQL (被备份目标 - 主业务库)
PG_HOST=localhost
PG_PORT=5432
PG_USER=rwa_user
PG_PASSWORD=your_password

# MPC PostgreSQL (被备份目标 - MPC 独立库)
MPC_PG_HOST=localhost
MPC_PG_PORT=5433
MPC_PG_USER=mpc_user
MPC_PG_PASSWORD=your_mpc_password

# Redis (被备份目标)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=

# MinIO
MINIO_ENDPOINT=192.168.1.100
MINIO_PORT=9000
MINIO_USE_SSL=false
MINIO_ACCESS_KEY=admin
MINIO_SECRET_KEY=your_minio_password
MINIO_BACKUP_BUCKET=snapshots

# 备份临时目录
SNAPSHOT_TEMP_DIR=./data/snapshots
# 临时文件保留时长（小时）
SNAPSHOT_RETENTION_HOURS=72

# 可用备份目标（逗号分隔，部署时按系统配置）
AVAILABLE_TARGETS=POSTGRES,MPC_POSTGRES,REDIS,KAFKA,ZOOKEEPER,MINIO,UPLOADS
