5.1 KiB
5.1 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 | - |
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/full-deploy.sh |
Full automated deployment | ✅ |
⚙️ Configuration Files
Nginx
nginx/explorer.conf- Complete Nginx reverse proxy configuration
Cloudflare
cloudflare/tunnel-config.yml- Cloudflare Tunnel configuration template
Systemd Services
systemd/explorer-indexer.service- Indexer service filesystemd/explorer-api.service- API service filesystemd/explorer-frontend.service- 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 explorer-frontend
sudo systemctl start explorer-indexer explorer-api explorer-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 explorer-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!