116 lines
3.3 KiB
HTML
Executable File
116 lines
3.3 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>DocWell Test Stack</title>
|
|
<style>
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
max-width: 800px;
|
|
margin: 50px auto;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
}
|
|
.container {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 30px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
h1 {
|
|
margin-top: 0;
|
|
text-align: center;
|
|
}
|
|
.info {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
margin: 20px 0;
|
|
}
|
|
.status {
|
|
display: inline-block;
|
|
padding: 5px 15px;
|
|
border-radius: 20px;
|
|
background: #4CAF50;
|
|
font-weight: bold;
|
|
}
|
|
code {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
ul {
|
|
line-height: 1.8;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>🚀 DocWell Test Stack</h1>
|
|
<div class="info">
|
|
<p><span class="status">✓ Running</span></p>
|
|
<p>This is a test stack for DocWell Docker management tool.</p>
|
|
</div>
|
|
|
|
<div class="info">
|
|
<h2>Stack Information</h2>
|
|
<ul>
|
|
<li><strong>Stack Name:</strong> <code>test-stack</code></li>
|
|
<li><strong>Service:</strong> Nginx Web Server</li>
|
|
<li><strong>Image:</strong> nginx:alpine</li>
|
|
<li><strong>Port:</strong> 8080 (host) → 80 (container)</li>
|
|
<li><strong>Volume:</strong> <code>web_data</code> (persistent cache)</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="info">
|
|
<h2>Testing DocWell Features</h2>
|
|
<p>Use this stack to test:</p>
|
|
<ul>
|
|
<li>✅ Stack backup and restore</li>
|
|
<li>✅ Start/stop/restart operations</li>
|
|
<li>✅ Image updates</li>
|
|
<li>✅ Service migration</li>
|
|
<li>✅ Volume management</li>
|
|
<li>✅ Health checks</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="info">
|
|
<h2>Quick Commands</h2>
|
|
<pre style="background: rgba(0,0,0,0.3); padding: 15px; border-radius: 5px; overflow-x: auto;">
|
|
# View logs
|
|
docker compose logs -f
|
|
|
|
# Check status
|
|
docker compose ps
|
|
|
|
# Restart service
|
|
docker compose restart
|
|
|
|
# Stop service
|
|
docker compose down
|
|
|
|
# Start service
|
|
docker compose up -d
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="info">
|
|
<p style="text-align: center; margin-bottom: 0;">
|
|
<small>Generated: <span id="timestamp"></span></small>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
document.getElementById('timestamp').textContent = new Date().toLocaleString();
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|