rwadurian/backend/services/mining-service/.env.example

32 lines
596 B
Plaintext

# Application
NODE_ENV=development
PORT=3021
SERVICE_NAME=mining-service
# Database
DATABASE_URL=postgresql://postgres:password@localhost:5432/mining_db?schema=public
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=1
# Kafka
KAFKA_BROKERS=localhost:9092
KAFKA_CLIENT_ID=mining-service
KAFKA_GROUP_ID=mining-service-group
# JWT
JWT_SECRET=your-jwt-secret-key
# Mining Configuration
TOTAL_SHARES=100020000000
DISTRIBUTION_POOL=200000000
INITIAL_PRICE=1
HALVING_PERIOD_YEARS=2
BURN_TARGET=10000000000
# Contribution Service
CONTRIBUTION_SERVICE_URL=http://localhost:3020