- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
64 lines
2.7 KiB
Plaintext
Executable File
64 lines
2.7 KiB
Plaintext
Executable File
# AITBC Environment Configuration
|
|
# SECURITY NOTICE: Use service-specific environment files
|
|
#
|
|
# For development, copy from:
|
|
# config/environments/development/coordinator.env
|
|
# config/environments/development/wallet-daemon.env
|
|
#
|
|
# For production, use AWS Secrets Manager and Kubernetes secrets
|
|
# Templates available in config/environments/production/
|
|
|
|
# =============================================================================
|
|
# BASIC CONFIGURATION ONLY
|
|
# =============================================================================
|
|
# Application Environment
|
|
APP_ENV=development
|
|
DEBUG=false
|
|
LOG_LEVEL=INFO
|
|
|
|
# =============================================================================
|
|
# SECURITY REQUIREMENTS
|
|
# =============================================================================
|
|
# IMPORTANT: Do NOT store actual secrets in this file
|
|
# Use AWS Secrets Manager for production
|
|
# Generate secure keys with: openssl rand -hex 32
|
|
|
|
# =============================================================================
|
|
# SERVICE CONFIGURATION
|
|
# =============================================================================
|
|
# Choose your service configuration:
|
|
# 1. Copy service-specific .env file from config/environments/
|
|
# 2. Fill in actual values (NEVER commit secrets)
|
|
# 3. Run: python config/security/environment-audit.py
|
|
|
|
# =============================================================================
|
|
# DEVELOPMENT QUICK START
|
|
# =============================================================================
|
|
# For quick development setup:
|
|
# cp config/environments/development/coordinator.env .env
|
|
# cp config/environments/development/wallet-daemon.env .env.wallet
|
|
#
|
|
# Then edit the copied files with your values
|
|
|
|
# =============================================================================
|
|
# PRODUCTION DEPLOYMENT
|
|
# =============================================================================
|
|
# For production deployment:
|
|
# 1. Use AWS Secrets Manager for all sensitive values
|
|
# 2. Reference secrets as: secretRef:secret-name:key
|
|
# 3. Run security audit before deployment
|
|
# 4. Use templates in config/environments/production/
|
|
|
|
# =============================================================================
|
|
# SECURITY VALIDATION
|
|
# =============================================================================
|
|
# Validate your configuration:
|
|
# python config/security/environment-audit.py --format text
|
|
|
|
# =============================================================================
|
|
# FOR MORE INFORMATION
|
|
# =============================================================================
|
|
# See: config/security/secret-validation.yaml
|
|
# See: config/security/environment-audit.py
|
|
# See: config/environments/ directory
|