document.addEventListener('DOMContentLoaded', function() { // Get the launch data from sessionStorage const launchData = JSON.parse(sessionStorage.getItem('instanceLaunchData')); if (!launchData) { showError('No launch data found. Please start over.'); return; } // Initialize the steps initializeSteps(); // Start the launch process startLaunch(launchData); }); function initializeSteps() { const stepsContainer = document.getElementById('stepsContainer'); // Add DNS check step const dnsStep = document.createElement('div'); dnsStep.className = 'step-item'; dnsStep.innerHTML = `
Verifying domain configurations...
Verifying connection to NGINX Proxy Manager...
Setting up secure HTTPS connection...
Setting up NGINX proxy host configuration...
Verifying connection to Portainer...
Fetching docker-compose.yml from repository...
| Domain | Status | IP Address | TTL |
|---|---|---|---|
| ${domain} | ${result.resolved ? 'Resolved' : 'Not Found'} | ${result.ip || 'N/A'} | ${result.ttl || 'N/A'} |
| Property | Value |
|---|---|
| Proxy Host ID | ${result.id || 'N/A'} |
| Domains | ${domains.join(', ')} |
| Forward Scheme | http |
| Forward Host | 192.168.68.124 |
| Forward Port | ${parseInt(port)} |
| SSL Status | Forced |
| SSL Certificate | Using Certificate ID: ${sslCertificateId} |
| Security Features | Block Exploits HSTS HTTP/2 |
| Performance | Caching WebSocket |
| Property | Value |
|---|---|
| Certificate ID | ${result.id || 'N/A'} |
| Domains | ${(result.domain_names || domains).join(', ')} |
| Provider | ${result.provider || 'Let\'s Encrypt'} |