- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
2.9 KiB
2.9 KiB
Deployment Instructions - All Secrets in .env
Date: 2026-01-04
Status: Ready for Deployment
Prerequisites
All secrets and configuration should be stored in .env file. Create it from the template:
cd rpc-translator-138
cp env.template .env
# Or: cp .env.example .env
Edit .env and add all required values, including secrets.
Deployment Methods
Method 1: Direct Deployment (Recommended)
Run on Proxmox host (r630-01):
# 1. SSH to Proxmox host
ssh root@192.168.11.11
# 2. Clone/copy project (if not already there)
cd /opt # or your preferred location
git clone <repository> proxmox
cd proxmox/rpc-translator-138
# 3. Create .env file with secrets
cp env.template .env
nano .env # Add all secrets and configuration
# 4. Verify node readiness
./verify-node-ready.sh r630-01
# 5. Deploy supporting services
./deploy-supporting-services.sh r630-01
# 6. Start containers
pct start 106 # Redis
pct start 107 # Web3Signer
pct start 108 # Vault
# 7. Configure services (enter each container)
pct enter 106 # Configure Redis
pct enter 107 # Configure Web3Signer
pct enter 108 # Configure Vault
Method 2: Via Proxmox Web UI
- Access Proxmox Web UI: https://192.168.11.11:8006
- Create containers manually (see
LXC_DEPLOYMENT.md) - Configure services in each container
Method 3: Via Proxmox API (Advanced)
If you have Proxmox API credentials configured in .env:
# Add to .env:
PROXMOX_HOST=192.168.11.11
PROXMOX_USER=root@pam
PROXMOX_TOKEN_VALUE=your-token-here
# Use MCP Proxmox tools or API scripts
.env File Secrets Checklist
Ensure your .env file contains:
Required for Deployment
PROXMOX_HOST- Proxmox host IP (if using remote deployment)PROXMOX_TOKEN_VALUE- API token (if using API deployment)
Required for Services
REDIS_PASSWORD- Redis password (if using password authentication)VAULT_ROLE_ID- Vault AppRole role IDVAULT_SECRET_ID- Vault AppRole secret IDWALLET_ALLOWLIST- Comma-separated wallet addresses
Optional but Recommended
WEB3SIGNER_KEY_PASSWORD- If Web3Signer keys are encrypted- Custom service passwords
- API keys for external services
Security Notes
- Never commit
.envto git - It's in.gitignore - Store secrets securely - Use password manager or secret management system
- Rotate credentials regularly - Follow security best practices
- Use strong passwords - Especially for Redis and Vault
- Limit access - Only necessary services should have access to secrets
Next Steps After Deployment
- Verify all services are running
- Test connectivity between services
- Deploy translator service to VMIDs 2400-2402
- Update translator .env files with service IPs
- Start translator services
- Test end-to-end functionality
See DEPLOYMENT.md for detailed instructions.