Some checks failed
CD Pipeline / deploy (push) Failing after 59s
- 建立 Gitea Actions CD pipeline (.gitea/workflows/cd.yaml) - 部署模式: rsync Python 檔案至 188 → docker restart (volume mount) - Dockerfile/requirements 變動時自動重建 Docker image - 部署通知: Telegram (開始/成功/失敗) - 健康檢查: https://mo.wooo.work/health (最多 5 次重試) - 同步最新 CLAUDE.md / ADR-008 / memory (2026-04-19) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
363 lines
12 KiB
HTML
363 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-TW">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>WOOO Monitoring Services</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--primary-color: #1e3c72;
|
|
--secondary-color: #2a5298;
|
|
--accent-color: #00d4ff;
|
|
--card-bg: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
min-height: 100vh;
|
|
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #1a1a2e 100%);
|
|
background-attachment: fixed;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* 背景裝飾 */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background:
|
|
radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
|
|
radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
|
|
radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.05) 0%, transparent 30%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* 動態粒子效果 */
|
|
.particles {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.particle {
|
|
position: absolute;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: rgba(0, 212, 255, 0.6);
|
|
border-radius: 50%;
|
|
animation: float 15s infinite;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
|
|
10% { opacity: 1; }
|
|
90% { opacity: 1; }
|
|
100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
|
|
}
|
|
|
|
.main-container {
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 40px 20px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.logo-container {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.logo {
|
|
width: 200px;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { transform: scale(1); }
|
|
50% { transform: scale(1.05); }
|
|
}
|
|
|
|
.header h1 {
|
|
color: white;
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.header .subtitle {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Section */
|
|
.section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.section-title {
|
|
color: white;
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 2px solid rgba(0, 212, 255, 0.3);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.section-title i {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
/* Cards Grid */
|
|
.cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
/* Service Card */
|
|
.service-card {
|
|
background: var(--card-bg);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.service-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
|
|
transform: scaleX(0);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.service-card:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.service-card:hover::before {
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
.card-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.card-icon.grafana { background: linear-gradient(135deg, #f46800, #f9b233); color: white; }
|
|
.card-icon.prometheus { background: linear-gradient(135deg, #e6522c, #f0a000); color: white; }
|
|
.card-icon.portainer { background: linear-gradient(135deg, #13bef9, #0db7ed); color: white; }
|
|
.card-icon.sqlite { background: linear-gradient(135deg, #003b57, #044a6c); color: white; }
|
|
.card-icon.cadvisor { background: linear-gradient(135deg, #4285f4, #34a853); color: white; }
|
|
.card-icon.node { background: linear-gradient(135deg, #e84d3d, #c0392b); color: white; }
|
|
.card-icon.blackbox { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; }
|
|
|
|
.card-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.card-content h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.card-content p {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
margin: 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.card-badge {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
font-size: 0.7rem;
|
|
padding: 3px 8px;
|
|
border-radius: 20px;
|
|
background: rgba(0, 212, 255, 0.1);
|
|
color: var(--secondary-color);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 60px;
|
|
padding: 20px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.footer a {
|
|
color: var(--accent-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.header h1 { font-size: 1.8rem; }
|
|
.cards-grid { grid-template-columns: 1fr; }
|
|
.main-container { padding: 20px 15px; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- 粒子背景 -->
|
|
<div class="particles">
|
|
<div class="particle" style="left: 10%; animation-delay: 0s;"></div>
|
|
<div class="particle" style="left: 20%; animation-delay: 2s;"></div>
|
|
<div class="particle" style="left: 30%; animation-delay: 4s;"></div>
|
|
<div class="particle" style="left: 40%; animation-delay: 1s;"></div>
|
|
<div class="particle" style="left: 50%; animation-delay: 3s;"></div>
|
|
<div class="particle" style="left: 60%; animation-delay: 5s;"></div>
|
|
<div class="particle" style="left: 70%; animation-delay: 2.5s;"></div>
|
|
<div class="particle" style="left: 80%; animation-delay: 4.5s;"></div>
|
|
<div class="particle" style="left: 90%; animation-delay: 1.5s;"></div>
|
|
</div>
|
|
|
|
<div class="main-container">
|
|
<div class="container">
|
|
<!-- Header -->
|
|
<div class="header">
|
|
<div class="logo-container">
|
|
<img src="/static/images/WOOO_Logo_trimmed.jpg" alt="WOOO Logo" class="logo">
|
|
</div>
|
|
<h1>Monitoring Services</h1>
|
|
<p class="subtitle"><i class="fas fa-server me-2"></i>WOOO TECH 監控服務中心</p>
|
|
</div>
|
|
|
|
<!-- 視覺化與分析 -->
|
|
<div class="section">
|
|
<h2 class="section-title"><i class="fas fa-chart-line"></i>視覺化與分析</h2>
|
|
<div class="cards-grid">
|
|
<a href="/grafana/" class="service-card">
|
|
<div class="card-icon grafana"><i class="fas fa-chart-area"></i></div>
|
|
<div class="card-content">
|
|
<h3>Grafana</h3>
|
|
<p>視覺化儀表板,整合 Loki 日誌查詢與 Prometheus 指標</p>
|
|
</div>
|
|
</a>
|
|
<a href="/prometheus/" class="service-card">
|
|
<div class="card-icon prometheus"><i class="fas fa-fire"></i></div>
|
|
<div class="card-content">
|
|
<h3>Prometheus</h3>
|
|
<p>時序資料庫,收集與查詢系統指標</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 系統管理 -->
|
|
<div class="section">
|
|
<h2 class="section-title"><i class="fas fa-cogs"></i>系統管理</h2>
|
|
<div class="cards-grid">
|
|
<a href="http://192.168.0.110:9000/" class="service-card" target="_blank">
|
|
<div class="card-icon portainer"><i class="fab fa-docker"></i></div>
|
|
<div class="card-content">
|
|
<h3>Portainer</h3>
|
|
<p>Docker 容器視覺化管理介面</p>
|
|
</div>
|
|
<span class="card-badge">直連</span>
|
|
</a>
|
|
<a href="/sqlite/" class="service-card">
|
|
<div class="card-icon sqlite"><i class="fas fa-database"></i></div>
|
|
<div class="card-content">
|
|
<h3>SQLite Web</h3>
|
|
<p>資料庫瀏覽與管理工具</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Exporters -->
|
|
<div class="section">
|
|
<h2 class="section-title"><i class="fas fa-download"></i>Exporters</h2>
|
|
<div class="cards-grid">
|
|
<a href="http://192.168.0.110:8080/" class="service-card" target="_blank">
|
|
<div class="card-icon cadvisor"><i class="fas fa-cube"></i></div>
|
|
<div class="card-content">
|
|
<h3>cAdvisor</h3>
|
|
<p>容器資源監控與效能分析</p>
|
|
</div>
|
|
<span class="card-badge">直連</span>
|
|
</a>
|
|
<a href="/node-exporter/metrics" class="service-card">
|
|
<div class="card-icon node"><i class="fas fa-microchip"></i></div>
|
|
<div class="card-content">
|
|
<h3>Node Exporter</h3>
|
|
<p>主機系統指標 (CPU、記憶體、磁碟)</p>
|
|
</div>
|
|
</a>
|
|
<a href="/blackbox/" class="service-card">
|
|
<div class="card-icon blackbox"><i class="fas fa-satellite-dish"></i></div>
|
|
<div class="card-content">
|
|
<h3>Blackbox Exporter</h3>
|
|
<p>HTTP/HTTPS/TCP 端點探測監控</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Footer -->
|
|
<div class="footer">
|
|
<p>© 2026 WOOO TECH. All rights reserved.</p>
|
|
<p><a href="https://mo.wooo.work/">返回 Momo Pro System</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|