29 lines
517 B
Plaintext
29 lines
517 B
Plaintext
# Application
|
|
NODE_ENV=development
|
|
PORT=3022
|
|
SERVICE_NAME=trading-service
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://postgres:password@localhost:5432/trading_db?schema=public
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=2
|
|
|
|
# Kafka
|
|
KAFKA_BROKERS=localhost:9092
|
|
KAFKA_CLIENT_ID=trading-service
|
|
KAFKA_GROUP_ID=trading-service-group
|
|
|
|
# JWT
|
|
JWT_SECRET=your-jwt-secret-key
|
|
|
|
# Mining Service
|
|
MINING_SERVICE_URL=http://localhost:3021
|
|
|
|
# Trading Configuration
|
|
MIN_TRANSFER_AMOUNT=5
|
|
TRADING_FEE_RATE=0.001
|