# NAC资产一键上链系统 - 环境配置示例 # 服务器配置 SERVER_HOST=0.0.0.0 SERVER_PORT=8080 # 数据库配置 DATABASE_URL=mysql://username:password@localhost:3306/nac_onboarding # JWT配置 JWT_SECRET=your-secret-key-change-this-in-production JWT_EXPIRATION=86400 # NAC SDK配置 NAC_NVM_URL=http://localhost:8545 NAC_CBPP_URL=http://localhost:8546 NAC_GNACS_URL=http://localhost:8547 NAC_GOVERNANCE_URL=http://localhost:8548 NAC_CSNP_URL=http://localhost:8549 NAC_IPFS_URL=http://localhost:5001 NAC_COMPLIANCE_URL=http://localhost:9001 NAC_VALUATION_URL=http://localhost:9002 NAC_RISK_URL=http://localhost:9003 NAC_WALLET_URL=http://localhost:9004 NAC_BROWSER_URL=http://localhost:9005 NAC_EXCHANGE_URL=http://localhost:9006 # 日志配置 LOG_LEVEL=info LOG_FILE=/var/log/nac-onboarding/app.log # CORS配置 CORS_ALLOWED_ORIGINS=http://localhost:3000,https://onboarding.newassetchain.io # 其他配置 RUST_BACKTRACE=1