kjh2064
|
d0bbb779c0
|
docs(deploy): Update DEPLOYMENT_SSH_GUIDE.md with final environment configuration
WBS-9.3 - NULL Policy CI Gate / NULL Policy Validation (pull_request) Failing after 4s
Quant Engine CI/CD Pipeline / validate-core (pull_request) Failing after 2m15s
Quant Engine CI/CD Pipeline / validate-ui-and-storage (pull_request) Has been skipped
Complete rewrite with v9 production environment details:
Environment Configuration:
- Server: hz-prod-01
- Public IP: 178.104.200.7
- Internal IP: 172.17.0.1 (Docker gateway, internal access only)
- SSH user: kjh2064
- SSH endpoint: ssh kjh2064@178.104.200.7
Deployment Architecture:
- Nginx reverse proxy on port 80 (already configured)
- Location /quant/ → proxy_pass http://127.0.0.1:5000/
- Quantengine service runs on localhost:5000
- systemd service: /etc/systemd/system/quantengine.service
Deployment Paths:
- Active deployment: /home/kjh2064/quantengine_active
- Backup location: /home/kjh2064/quantengine_backup
- Nginx config: /etc/nginx/sites-available/gitea-ip.conf
Key Procedures:
1. SSH Setup: ssh-keygen, ssh-copy-id, key validation
2. Environment Check: System info, deployment paths, service status
3. Release Build: dotnet publish -c Release
4. Deployment Methods:
- Auto: deploy-production.sh (recommended)
- Auto: deploy-manual.sh (interactive)
- Manual: Step-by-step SSH procedures
5. Verification: Health checks, logs, MudBlazor validation
6. Rollback: Automated backup restoration
Troubleshooting Guide:
- SSH connection failures
- Service startup issues
- Nginx proxy errors
- File permission problems
Complete deployment flow diagrams and examples for all scenarios.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
2026-06-25 18:24:01 +09:00 |
|