2026-02-04 17:51:50 +08:00
|
|
|
# Server Configuration
|
|
|
|
|
PORT=3001
|
|
|
|
|
NODE_ENV=development
|
|
|
|
|
|
|
|
|
|
# Kafka Configuration
|
|
|
|
|
KAFKA_BROKERS=localhost:9092
|
|
|
|
|
KAFKA_TOPIC=blwlog4Nodejs-rcu-onoffline-topic
|
|
|
|
|
KAFKA_GROUP_ID=bls-onoffline-group
|
|
|
|
|
KAFKA_CLIENT_ID=bls-onoffline-client
|
|
|
|
|
KAFKA_CONSUMER_INSTANCES=1
|
|
|
|
|
# KAFKA_SASL_USERNAME=
|
|
|
|
|
# KAFKA_SASL_PASSWORD=
|
|
|
|
|
# KAFKA_SASL_MECHANISM=plain
|
|
|
|
|
|
|
|
|
|
# Database Configuration (PostgreSQL)
|
|
|
|
|
DB_HOST=localhost
|
|
|
|
|
DB_PORT=5432
|
|
|
|
|
DB_USER=postgres
|
|
|
|
|
DB_PASSWORD=password
|
|
|
|
|
DB_DATABASE=log_platform
|
|
|
|
|
DB_SCHEMA=public
|
|
|
|
|
DB_TABLE=onoffline_record
|
|
|
|
|
DB_MAX_CONNECTIONS=10
|
|
|
|
|
|
|
|
|
|
# Redis Configuration
|
|
|
|
|
REDIS_HOST=localhost
|
|
|
|
|
REDIS_PORT=6379
|
|
|
|
|
REDIS_PASSWORD=
|
|
|
|
|
REDIS_DB=0
|
|
|
|
|
REDIS_PROJECT_NAME=bls-onoffline
|
|
|
|
|
REDIS_API_BASE_URL=http://localhost:3001
|
2026-03-24 08:34:36 +08:00
|
|
|
|
|
|
|
|
# G5 room_status.moment sync
|
|
|
|
|
# false: do not write room_status.room_status_moment_g5
|
|
|
|
|
G5_ROOM_STATUS_MOMENT_SYNC_ENABLED=false
|