33 lines
807 B
Plaintext
33 lines
807 B
Plaintext
# Application
|
|
NODE_ENV=development
|
|
PORT=3023
|
|
SERVICE_NAME=mining-admin-service
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://postgres:password@localhost:5432/mining_admin_db?schema=public
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=3
|
|
|
|
# JWT
|
|
JWT_SECRET=your-admin-jwt-secret-key
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# Services
|
|
CONTRIBUTION_SERVICE_URL=http://localhost:3020
|
|
MINING_SERVICE_URL=http://localhost:3021
|
|
TRADING_SERVICE_URL=http://localhost:3022
|
|
MINING_WALLET_SERVICE_URL=http://localhost:3025
|
|
MINING_BLOCKCHAIN_SERVICE_URL=http://localhost:3020
|
|
|
|
# Pool Account Wallet Names (MPC 用户名,用于 walletName → poolType 映射)
|
|
BURN_POOL_WALLET_USERNAME=wallet-22fd661f
|
|
MINING_POOL_WALLET_USERNAME=wallet-974e78f5
|
|
|
|
# Default Admin
|
|
DEFAULT_ADMIN_USERNAME=admin
|
|
DEFAULT_ADMIN_PASSWORD=admin123
|