clawchain/dantegpu-core/env.production.example

86 lines
2.5 KiB
Plaintext

# Production Environment Configuration for Dante GPU Rental Platform
# Copy this file to .env and update with your production values
# Core Platform Settings
NODE_ENV=production
ENVIRONMENT=production
DEVELOPMENT_MODE=false
# Database Configuration
POSTGRES_PASSWORD=your_secure_postgres_password_change_this
DATABASE_URL=postgresql+psycopg2://dante:your_secure_postgres_password_change_this@postgres:5432/dante
# JWT Authentication
JWT_SECRET=your_super_secure_jwt_secret_key_256_bits_minimum_change_this_in_production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# Solana Blockchain Configuration
SOLANA_PRIVATE_KEY=your_base58_encoded_solana_private_key_for_platform_wallet
DGPU_TOKEN_ADDRESS=7xUV6YR3rZMfExPqZiovQSUxpnHxr2KJJqFg1bFrpump
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
SOLANA_NETWORK=mainnet-beta
# MinIO Storage Configuration
MINIO_ROOT_USER=dante_admin
MINIO_ROOT_PASSWORD=your_secure_minio_password_change_this
MINIO_ENDPOINT=minio:9000
MINIO_USE_SSL=false
# Monitoring Configuration
GRAFANA_PASSWORD=your_secure_grafana_admin_password_change_this
# Service URLs (Internal Docker Network)
AUTH_SERVICE_URL=http://auth-service:8090
BILLING_SERVICE_URL=http://billing-service:8080
PROVIDER_SERVICE_URL=http://provider-registry:8081
STORAGE_SERVICE_URL=http://storage-service:8082
SCHEDULER_SERVICE_URL=http://scheduler-service:8083
NATS_URL=nats://nats:4222
CONSUL_URL=http://consul:8500
REDIS_URL=redis://redis:6379
# Frontend Configuration
NEXT_PUBLIC_API_URL=http://localhost:8080
NEXT_PUBLIC_WS_URL=ws://localhost:8080
NEXT_PUBLIC_ENVIRONMENT=production
# Platform Configuration
PLATFORM_FEE_PERCENTAGE=5.0
PLATFORM_WALLET_ADDRESS=your_platform_solana_wallet_address
DEFAULT_SESSION_TIMEOUT=3600
# Rate Limiting
RATE_LIMIT_REQUESTS_PER_MINUTE=60
RATE_LIMIT_BURST=100
# Pricing Configuration (per hour rates in dGPU tokens)
BASE_RATE_RTX_4090=2.50
BASE_RATE_A100_40GB=8.00
BASE_RATE_A100_80GB=12.00
BASE_RATE_H100=15.00
BASE_RATE_TESLA_V100=4.00
BASE_RATE_RTX_3090=1.80
BASE_RATE_RTX_4080=2.20
BASE_RATE_GTX_1080_TI=0.80
BASE_RATE_DEFAULT=1.00
# VRAM pricing (per GB per hour in dGPU tokens)
VRAM_RATE_PER_GB=0.10
# Power consumption multipliers
POWER_MULTIPLIER_LOW=1.0
POWER_MULTIPLIER_MEDIUM=1.1
POWER_MULTIPLIER_HIGH=1.2
# Backup Configuration
BACKUP_ENABLED=true
BACKUP_SCHEDULE=0 2 * * *
BACKUP_RETENTION_DAYS=30
# Logging Configuration
LOG_LEVEL=info
LOG_FORMAT=json
# Security Configuration
CORS_ALLOWED_ORIGINS=http://localhost:3000,https://yourdomain.com,https://app.yourdomain.com