- Updated branding from "SolaceScanScout" to "Solace" across various files including deployment scripts, API responses, and documentation. - Changed default base URL for Playwright tests and updated security headers to reflect the new branding. - Enhanced README and API documentation to include new authentication endpoints and product access details. This refactor aligns the project branding and improves clarity in the API documentation.
5.7 KiB
5.7 KiB
Deployment Files Index
Complete index of all deployment files and their purposes.
📚 Documentation
| File | Purpose | Lines |
|---|---|---|
DEPLOYMENT_GUIDE.md |
Complete step-by-step deployment guide | 1,079 |
DEPLOYMENT_TASKS.md |
Detailed 71-task checklist | 561 |
DEPLOYMENT_CHECKLIST.md |
Interactive deployment checklist | 204 |
DEPLOYMENT_SUMMARY.md |
Deployment package summary | - |
ACCESS_EDGE_ENFORCEMENT_RUNBOOK.md |
RPC/API-key edge enforcement for protected lanes | - |
QUICK_DEPLOY.md |
Quick command reference | - |
README.md |
Documentation overview | - |
INDEX.md |
This file | - |
🔧 Scripts
| Script | Purpose | Executable |
|---|---|---|
scripts/deploy-lxc.sh |
Automated LXC container setup | ✅ |
scripts/build-all.sh |
Build all applications | ✅ |
scripts/install-services.sh |
Install systemd service files | ✅ |
scripts/setup-nginx.sh |
Configure Nginx | ✅ |
scripts/setup-cloudflare-tunnel.sh |
Setup Cloudflare Tunnel | ✅ |
scripts/setup-firewall.sh |
Configure UFW firewall | ✅ |
scripts/setup-fail2ban.sh |
Configure Fail2ban | ✅ |
scripts/setup-backup.sh |
Setup backup system | ✅ |
scripts/setup-health-check.sh |
Setup health monitoring | ✅ |
scripts/verify-deployment.sh |
Verify deployment | ✅ |
../scripts/render-rpc-access-gate-nginx.sh |
Render lane-specific nginx gate configs for 2101 / 2102 / 2103 |
✅ |
../scripts/install-rpc-access-gate-nginx-via-ssh.sh |
Dry-run-first remote installer for rendered RPC gate configs | ✅ |
scripts/full-deploy.sh |
Full automated deployment | ✅ |
⚙️ Configuration Files
Nginx
nginx/explorer.conf- Complete Nginx reverse proxy configurationcommon/nginx-rpc-api-key-gate.conf- Example auth-gated RPC upstream template../scripts/render-rpc-access-gate-nginx.sh- Concrete renderer for auth-gated RPC upstream configs
Cloudflare
cloudflare/tunnel-config.yml- Cloudflare Tunnel configuration template
Systemd Services
systemd/explorer-indexer.service- Indexer service filesystemd/explorer-api.service- API service filesystemd/solacescanscout-frontend.service- Next frontend service filesystemd/cloudflared.service- Cloudflare Tunnel service file
Fail2ban
fail2ban/nginx.conf- Nginx filter configurationfail2ban/jail.local- Jail configuration
Environment
ENVIRONMENT_TEMPLATE.env- Environment variables template
Docker
docker-compose.yml- Docker Compose for infrastructure services
Kubernetes
kubernetes/indexer-deployment.yaml- Kubernetes deployment example
📋 Usage Guide
For First-Time Deployment
- Read:
DEPLOYMENT_GUIDE.md- Complete walkthrough - Track:
DEPLOYMENT_TASKS.md- Follow 71 tasks - Check:
DEPLOYMENT_CHECKLIST.md- Mark completed items - Reference:
QUICK_DEPLOY.md- Quick commands
For Automated Deployment
# Full automated deployment
sudo ./deployment/scripts/full-deploy.sh
# Or step-by-step
./deployment/scripts/deploy-lxc.sh
./deployment/scripts/build-all.sh
./deployment/scripts/install-services.sh
./deployment/scripts/setup-nginx.sh
./deployment/scripts/setup-cloudflare-tunnel.sh
For Verification
# Verify deployment
./deployment/scripts/verify-deployment.sh
🗂️ File Organization
deployment/
├── Documentation (7 files)
│ ├── DEPLOYMENT_GUIDE.md
│ ├── DEPLOYMENT_TASKS.md
│ ├── DEPLOYMENT_CHECKLIST.md
│ ├── DEPLOYMENT_SUMMARY.md
│ ├── QUICK_DEPLOY.md
│ ├── README.md
│ └── INDEX.md
│
├── Scripts (11 files)
│ └── scripts/*.sh
│
├── Configuration (10 files)
│ ├── nginx/explorer.conf
│ ├── cloudflare/tunnel-config.yml
│ ├── systemd/*.service (4 files)
│ ├── fail2ban/*.conf (2 files)
│ ├── ENVIRONMENT_TEMPLATE.env
│ └── docker-compose.yml
│
└── Kubernetes (1 file)
└── kubernetes/indexer-deployment.yaml
✅ Quick Reference
Essential Commands
# Build applications
./deployment/scripts/build-all.sh
# Install services
sudo ./deployment/scripts/install-services.sh
sudo systemctl enable explorer-indexer explorer-api solacescanscout-frontend
sudo systemctl start explorer-indexer explorer-api solacescanscout-frontend
# Setup Nginx
sudo ./deployment/scripts/setup-nginx.sh
# Setup Cloudflare Tunnel
sudo ./deployment/scripts/setup-cloudflare-tunnel.sh
# Verify deployment
./deployment/scripts/verify-deployment.sh
Service Management
# Check status
systemctl status explorer-indexer explorer-api solacescanscout-frontend
# View logs
journalctl -u explorer-api -f
# Restart service
systemctl restart explorer-api
Health Checks
# API health
curl http://localhost:8080/health
# Through Nginx
curl http://localhost/api/health
# Through Cloudflare
curl https://explorer.d-bis.org/api/health
📊 Statistics
- Total Files: 28
- Documentation: 7 files (1,844+ lines)
- Scripts: 11 files (all executable)
- Configuration: 10 files
- Total Tasks: 71
- Estimated Deployment Time: 6-8 hours
🎯 Deployment Paths
Path 1: Full Automated
sudo ./deployment/scripts/full-deploy.sh
Path 2: Step-by-Step Manual
- Follow
DEPLOYMENT_GUIDE.md - Use
DEPLOYMENT_TASKS.mdfor task list - Check off in
DEPLOYMENT_CHECKLIST.md
Path 3: Hybrid (Recommended)
- Run automated scripts for setup
- Manual configuration for critical steps
- Verify with
verify-deployment.sh
All deployment files are ready and documented!