轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
traefik-log-dashboard-agent

hhftechnology/traefik-log-dashboard-agent

hhftechnology

1 次收藏下载次数: 0状态:社区镜像维护者:hhftechnology仓库类型:镜像最近更新:1 个月前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
使用轩辕镜像,把时间还给真正重要的事。
点击查看

https://github.com/hhftechnology/traefik-log-dashboard

A comprehensive analytics platform for Traefik access logs with three deployment options: a Go-based API agent, a modern Next.js web dashboard, and a beautiful terminal-based CLI.

!https://img.shields.io/github/stars/hhftechnology/traefik-log-dashboard?style=flat-square https://img.shields.io/***/994247717368909884?logo=***&style=flat-square]([***]

A comprehensive real-time analytics platform for Traefik reverse proxy logs


Table of Contents

  • Overview
  • Architecture
  • Features
  • Quick Start
  • Multi-Agent Setup
  • Agent Database Management
  • GeoIP Database Setup
  • Dashboard Cards Explained
  • Filter Logs & API Usage
  • Configuration
  • Performance
  • Troubleshooting

** MIGRATION GUIDE from V1 to V2**: ./docs/MigrationV1toV2.md


Overview

Traefik Log Dashboard is a powerful analytics platform that provides real-time insights into your Traefik reverse proxy traffic. It consists of three components that work together:

  1. Agent - Go-based backend API that parses logs and exposes metrics
  2. Dashboard - Next.js web UI with interactive charts and real-time updates
  3. CLI - Beautiful terminal-based dashboard (optional)

What's New in v2.x

  • ✅ Multi-Agent Architecture - Manage multiple Traefik instances from a single dashboard
  • ✅ Persistent Agent Database - SQLite-based storage for agent configurations
  • ✅ Environment-Protected Agents - Agents defined in docker-compose.yml cannot be deleted from UI
  • ✅ Enhanced Error Handling - Better error messages and user feedback
  • ✅ Improved Performance - Parallel fetching and optimized state management
  • ✅ Fixed Date Handling - Proper ISO string and Date object conversion
  • ✅ Better Agent Status Tracking - lastSeen timestamp with proper persistence

Features

Dashboard Features

  • Real-time analytics and metrics visualization
  • GeoIP integration with country and city mapping
  • Request rate, response time, and error tracking
  • Advanced filtering by status code, method, service, router
  • Responsive design for desktop and mobile
  • Modern UI with dark mode support
  • Auto-refresh with configurable intervals
  • Persistent agent configuration with SQLite

Multi-Agent Capabilities

  • Manage unlimited agent connections
  • Organize agents by location (on-site/off-site)
  • Real-time status monitoring with health checks
  • Tag and categorize agents
  • Individual authentication tokens per agent
  • Aggregate or individual agent views
  • Protected environment agents (cannot delete from UI)

Agent Features

  • High-performance Go-based log parser
  • JSON and Common Log Format support
  • Position tracking for efficient log reading
  • MaxMind GeoIP database integration
  • System resource monitoring
  • Bearer token authentication
  • RESTful API with comprehensive endpoints

Quick Start

Prerequisites

  • Docker and Docker Compose
  • Traefik configured with JSON access logs
  • (Optional) MaxMind GeoIP databases for geolocation

Single Agent Setup

  1. Create directory structure:
bash
mkdir -p traefik-dashboard/{data/{logs,geoip,positions,dashboard}}
cd traefik-dashboard
  1. Create docker-compose.yml:
yaml
services:
  # Traefik Log Dashboard Agent
  traefik-agent:
    image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
    container_name: traefik-log-dashboard-agent
    restart: unless-stopped
    ports:
      - "5000:5000"
    volumes:
      - ./data/logs:/logs:ro
      - ./data/geoip:/geoip:ro  # MaxMind GeoIP databases
      - ./data/positions:/data
    environment:
      # Log Paths
      - TRAEFIK_LOG_DASHBOARD_ACCESS_PATH=/logs/access.log
      - TRAEFIK_LOG_DASHBOARD_ERROR_PATH=/logs/access.log
      
      # Authentication
      - TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN=d41d8cd98f00b204e9800998ecf8427e
      
      # System Monitoring
      - TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING=true
      
      # GeoIP Configuration
      - TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED=true
      - TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB=/geoip/GeoLite2-City.mmdb
      - TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
      
      # Log Format
      - TRAEFIK_LOG_DASHBOARD_LOG_FORMAT=json
      
      # Server Port
      - PORT=5000
    healthcheck:
      test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/api/logs/status"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 10s
    networks:
      - traefik-network

  # Traefik Log Dashboard - Next.js web UI
  traefik-dashboard:
    image: hhftechnology/traefik-log-dashboard:dev-dashboard
    container_name: traefik-log-dashboard
    restart: unless-stopped
    user: "1001:1001"
    ports:
      - "3000:3000"
    volumes:
      - ./data/dashboard:/app/data
    environment:
      # Agent Configuration (Default/Environment Agent)
      - AGENT_API_URL=http://traefik-agent:5000
      - AGENT_API_TOKEN=d41d8cd98f00b204e9800998ecf8427e
      - AGENT_NAME=Default Agent  # Optional: Name for environment agent
      
      # Node Environment
      - NODE_ENV=production
      - PORT=3000
    depends_on:
      traefik-agent:
        condition: service_healthy
    networks:
      - traefik-network

networks:
  traefik-network:
    external: true
  1. Generate secure authentication token:
bash
# Generate a strong token
openssl rand -hex 32

# Update both TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN and AGENT_API_TOKEN with this value
  1. Start the services:
bash
docker compose up -d
  1. Access the dashboard:

Open your browser to http://localhost:3000


Multi-Agent Setup

To monitor multiple Traefik instances, deploy additional agents and register them in the dashboard.

Option 1: Additional Environment Agents

Add more agent services to your docker-compose.yml:

yaml
services:
  traefik-agent-2:
    image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
    container_name: traefik-log-dashboard-agent-2
    restart: unless-stopped
    ports:
      - "5001:5000"
    volumes:
      - ./data/logs2:/logs:ro
      - ./data/geoip:/geoip:ro
      - ./data/positions2:/data
    environment:
      - TRAEFIK_LOG_DASHBOARD_ACCESS_PATH=/logs/access.log
      - TRAEFIK_LOG_DASHBOARD_ERROR_PATH=/logs/access.log
      - TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN=your_token_for_agent_2
      - TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING=true
      - TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED=true
      - TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB=/geoip/GeoLite2-City.mmdb
      - TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
      - TRAEFIK_LOG_DASHBOARD_LOG_FORMAT=json
      - PORT=5000
    healthcheck:
      test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/api/logs/status"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 10s
    networks:
      - traefik-network

  traefik-agent-3:
    image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
    container_name: traefik-log-dashboard-agent-3
    restart: unless-stopped
    ports:
      - "5002:5000"
    volumes:
      - ./data/logs3:/logs:ro
      - ./data/geoip:/geoip:ro
      - ./data/positions3:/data
    environment:
      - TRAEFIK_LOG_DASHBOARD_ACCESS_PATH=/logs/access.log
      - TRAEFIK_LOG_DASHBOARD_ERROR_PATH=/logs/access.log
      - TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN=your_token_for_agent_3
      - TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING=true
      - TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED=true
      - TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB=/geoip/GeoLite2-City.mmdb
      - TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
      - TRAEFIK_LOG_DASHBOARD_LOG_FORMAT=json
      - PORT=5000
    healthcheck:
      test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/api/logs/status"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 10s
    networks:
      - traefik-network

Option 2: Register Agents via Dashboard UI

  1. Navigate to Settings → Agents in the dashboard

  2. Click Add Agent

  3. Fill in agent details:

    • Name: Descriptive name (e.g., "Production Datacenter")
    • URL: Agent API endpoint (e.g., "[***]")
    • Token: Authentication token for this agent
    • Location: on-site or off-site
    • Description: Optional notes
    • Tags: Optional labels for organization
  4. Click Save to register the agent

Option 3: Remote Agents

Deploy agents on different servers:

On Remote Server:

bash
docker run -d \
  --name traefik-agent \
  -p 5000:5000 \
  -v /path/to/traefik/logs:/logs:ro \
  -v /path/to/geoip:/geoip:ro \
  -v /path/to/positions:/data \
  -e TRAEFIK_LOG_DASHBOARD_ACCESS_PATH=/logs/access.log \
  -e TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN=your_secure_token \
  -e TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED=true \
  -e TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB=/geoip/GeoLite2-City.mmdb \
  -e TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb \
  hhftechnology/traefik-log-dashboard-agent:dev-dashboard

Register in Dashboard:

  • URL: http://remote-server-ip:5000
  • Token: your_secure_token

Agent Database Management

Database Schema

The dashboard uses SQLite to persist agent configurations:

sql
CREATE TABLE agents (
  id TEXT PRIMARY KEY,              -- Auto-generated: agent-001, agent-002, etc.
  name TEXT NOT NULL,               -- Display name
  url TEXT NOT NULL,                -- Agent API URL
  token TEXT NOT NULL,              -- Authentication token
  location TEXT NOT NULL,           -- 'on-site' or 'off-site'
  number INTEGER NOT NULL,          -- Sequential number
  status TEXT,                      -- 'online', 'offline', 'checking'
  last_seen TEXT,                   -- ISO timestamp of last successful check
  description TEXT,                 -- Optional description
  tags TEXT,                        -- JSON array of tags
  source TEXT NOT NULL DEFAULT 'manual',  -- 'env' or 'manual'
  created_at TEXT NOT NULL,         -- Creation timestamp
  updated_at TEXT NOT NULL          -- Last update timestamp
);

CREATE TABLE selected_agent (
  id INTEGER PRIMARY KEY CHECK(id = 1),  -- Singleton table
  agent_id TEXT NOT NULL,                -- Currently selected agent
  updated_at TEXT NOT NULL               -- Selection timestamp
);

Agent Sources

Environment Agents (source='env'):

  • Automatically synced from docker-compose.yml environment variables
  • Cannot be deleted from the dashboard UI
  • Displayed with a 🔒 lock icon
  • Updated on dashboard restart if environment changes

Manual Agents (source='manual'):

  • Added through the dashboard UI
  • Fully editable and deletable
  • Stored persistently in SQLite database

Environment Agent Configuration

Define agents in docker-compose.yml:

yaml
traefik-dashboard:
  environment:
    # This creates a protected environment agent
    - AGENT_API_URL=http://traefik-agent:5000
    - AGENT_API_TOKEN=your_secure_token
    - AGENT_NAME=Production Agent  # Optional, defaults to "Environment Agent"

The dashboard will automatically:

  1. Create/update agent with ID agent-env-001
  2. Mark it as source='env'
  3. Protect it from UI deletion
  4. Sync changes on restart

Database Location

By default: ./data/dashboard/agents.db

Custom path:

yaml
traefik-dashboard:
  environment:
    - DATABASE_PATH=/custom/path/agents.db

Backup and Restore

Backup:

bash
# Copy the database file
cp ./data/dashboard/agents.db ./backups/agents-$(date +%Y%m%d).db

Restore:

bash
# Stop dashboard
docker compose stop traefik-dashboard

# Restore database
cp ./backups/agents-20250101.db ./data/dashboard/agents.db

# Start dashboard
docker compose start traefik-dashboard

GeoIP Database Setup

Download MaxMind Databases

  1. Sign up for MaxMind account (free): https://www.maxmind.com/en/geolite2/signup

  2. Generate license key:

    • Login → Account → Manage License Keys
    • Create new license key
  3. Download databases manually:

    bash
    cd data/geoip
    
    # Download GeoLite2-City
    wget "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=YOUR_LICENSE_KEY&suffix=tar.gz" -O GeoLite2-City.tar.gz
    
    # Download GeoLite2-Country
    wget "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=YOUR_LICENSE_KEY&suffix=tar.gz" -O GeoLite2-Country.tar.gz
    
    # Extract
    tar -xzf GeoLite2-City.tar.gz --strip-components=1
    tar -xzf GeoLite2-Country.tar.gz --strip-components=1
    
    # Clean up
    rm *.tar.gz
    
  4. Automated Updates (using geoipupdate):

    bash
    docker run -d \
      --name geoipupdate \
      -v ./data/geoip:/usr/share/GeoIP \
      -e GEOIPUPDATE_ACCOUNT_ID=your_account_id \
      -e GEOIPUPDATE_LICENSE_KEY=your_license_key \
      -e GEOIPUPDATE_EDITION_IDS="GeoLite2-City GeoLite2-Country" \
      -e GEOIPUPDATE_FREQUENCY=168  # Update weekly
      maxmindinc/geoipupdate
    

Verify GeoIP Setup

bash
# Check files exist
ls -lh data/geoip/

# Should show:
# GeoLite2-City.mmdb
# GeoLite2-Country.mmdb

# Test agent GeoIP endpoint
curl -H "Authorization: Bearer your_token" \
  http://localhost:5000/api/location/status

Dashboard Cards Explained

Overview Cards

Total Requests: Aggregate count of all HTTP requests processed

Average Response Time: Mean response time across all requests (in milliseconds)

Error Rate: Percentage of requests with 4xx or 5xx status codes

Active Services: Number of unique Traefik services handling traffic

Geographic Cards

Top Countries: Requests grouped by country (requires GeoIP)

Top Cities: Requests grouped by city (requires GeoIP)

Interactive Map: Geographic heatmap visualization

Traffic Analysis

Requests by Status Code: Distribution of 2xx, 3xx, 4xx, 5xx responses

Top Services: Most active Traefik services by request count

Top Routers: Most active Traefik routers by request count

Methods Distribution: HTTP methods (GET, POST, PUT, DELETE, etc.)

Performance Metrics

Response Time Chart: Time-series graph of response times

Request Rate: Requests per second/minute/hour

Slowest Endpoints: Top 10 slowest routes by average response time

Error Timeline: Time-series of error occurrences


Filter Logs & API Usage

Dashboard Filters

Available in the top toolbar:

  • Time Range: Last 1h, 6h, 24h, 7d, 30d, or custom range
  • Status Codes: Filter by 2xx, 3xx, 4xx, 5xx
  • HTTP Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
  • Services: Filter by Traefik service name
  • Routers: Filter by Traefik router name
  • Search: Free-text search across all fields

API Endpoints

Get Logs:

bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "http://localhost:5000/api/logs/access?lines=100&status=200&method=GET"

Get Status:

bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "http://localhost:5000/api/logs/status"

Get Metrics:

bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "http://localhost:5000/api/logs/metrics?period=1h"

GeoIP Lookup:

bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "http://localhost:5000/api/location/lookup?ip=8.8.8.8"

System Stats:

bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "http://localhost:5000/api/system/stats"

Configuration

Agent Environment Variables

VariableDescriptionDefaultRequired
TRAEFIK_LOG_DASHBOARD_ACCESS_PATHPath to Traefik access log/logs/access.logYes
TRAEFIK_LOG_DASHBOARD_ERROR_PATHPath to Traefik error log-No
TRAEFIK_LOG_DASHBOARD_AUTH_TOKENBearer token for authentication-Yes
TRAEFIK_LOG_DASHBOARD_LOG_FORMATLog format (json/common)jsonNo
TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORINGEnable system monitoringtrueNo
TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLEDEnable GeoIP lookupsfalseNo
TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DBPath to GeoLite2-City.mmdb-If GeoIP enabled
TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DBPath to GeoLite2-Country.mmdb-If GeoIP enabled
PORTAgent listen port5000No

Dashboard Environment Variables

VariableDescriptionDefaultRequired
AGENT_API_URLDefault agent URL (for env agent)-Yes (for env agent)
AGENT_API_TOKENDefault agent token (for env agent)-Yes (for env agent)
AGENT_NAMEName for environment agentEnvironment AgentNo
NODE_ENVNode environmentproductionNo
PORTDashboard listen port3000No
DATABASE_PATHSQLite database location./data/agents.dbNo

Traefik Configuration

Configure Traefik to output JSON access logs:

yaml
# traefik.yml
accessLog:
  filePath: "/logs/access.log"
  format: json
  bufferingSize: 100
  
  fields:
    defaultMode: keep
    names:
      ClientUsername: drop
    headers:
      defaultMode: keep
      names:
        Authorization: drop
        Cookie: drop

Performance

Optimizations in v2.x

  • Parallel Fetching: Dashboard fetches agents and selected agent in parallel
  • Optimized State Management: Direct state updates instead of full refreshes
  • Position Tracking: Agents only read new log entries, not entire file
  • Database Indexing: Indexes on source and status columns
  • Efficient Date Handling: Proper ISO string and Date object conversion

Resource Usage

Agent:

  • CPU: ~5-10% (idle) / ~20-30% (heavy traffic)
  • Memory: ~50-100 MB
  • Disk: Minimal (position files < 1 KB)

Dashboard:

  • CPU: ~5% (idle) / ~15% (active)
  • Memory: ~150-200 MB
  • Database: ~1-10 MB (depending on agent count)

Scaling Recommendations

  • < 1000 req/sec: Single agent sufficient
  • 1000-10,000 req/sec: Single agent with optimized log rotation
  • > 10,000 req/sec: *** multiple agents with load balancing
  • Multiple Locations: Deploy agent per location for better latency

Troubleshooting

Dashboard Shows "Connection Error"

Symptoms:

  • Red connection error banner
  • No data displayed

Solutions:

bash
# Check agent is running
docker ps | grep traefik-agent

# Check agent logs
docker logs traefik-log-dashboard-agent

# Verify agent is accessible from dashboard
docker exec traefik-log-dashboard wget -O- http://traefik-agent:5000/api/logs/status

# Check authentication token matches
docker exec traefik-agent env | grep AUTH_TOKEN
docker exec traefik-dashboard env | grep AGENT_API_TOKEN

Cannot Delete Agent

Symptoms:

  • Delete button disabled or shows error
  • Error: "Cannot delete environment-sourced agents"

Cause: Agent is defined in docker-compose.yml environment variables

Solution:

bash
# Environment agents (source='env') are protected
# They can only be removed by:
# 1. Removing environment variables from docker-compose.yml
# 2. Restarting the dashboard

docker compose down
# Edit docker-compose.yml - remove AGENT_API_URL and AGENT_API_TOKEN
docker compose up -d

GeoIP Not Working

Symptoms:

  • Geographic cards show "No data"
  • Countries show as empty

Solutions:

bash
# Verify databases exist
ls -lh ./data/geoip/

# Check agent logs for GeoIP errors
docker logs traefik-log-dashboard-agent | grep -i geoip

# Verify environment variables
docker exec traefik-agent env | grep GEOIP

# Test GeoIP lookup
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "http://localhost:5000/api/location/status"

# Re-download databases if corrupted
cd data/geoip
rm *.mmdb
# Follow GeoIP setup instructions above

No Logs Appearing

Symptoms:

  • Dashboard shows zero requests
  • All cards empty

Solutions:

bash
# Verify log file path is correct
docker exec traefik-agent ls -lh /logs/

# Check log file permissions (should be readable)
docker exec traefik-agent cat /logs/access.log | head -5

# Verify log format matches configuration
# Should be JSON format:
docker exec traefik-agent head -1 /logs/access.log

# Check Traefik is generating logs
tail -f /path/to/your/traefik/logs/access.log

High Memory Usage

Symptoms:

  • Agent consuming excessive memory
  • Dashboard slow or unresponsive

Solutions:

bash
# Enable log rotation in Traefik
# traefik.yml:
# accessLog:
#   filePath: "/logs/access.log"
#   maxSize: 100  # MB
#   maxBackups: 3
#   maxAge: 7     # days

# Reduce dashboard refresh interval
# In UI: Settings → Refresh Interval → 30s or 60s

# Check database size
du -sh data/dashboard/agents.db

# Vacuum database if large
docker exec traefik-dashboard sqlite3 /app/data/agents.db "VACUUM;"

Agent Status Stuck on "Checking"

Symptoms:

  • Agent status never changes from "checking"
  • No lastSeen timestamp

Solutions:

bash
# Manually check agent status
curl -H "Authorization: Bearer YOUR_TOKEN" \
  http://agent-url:5000/api/logs/status

# Check network connectivity
docker exec traefik-dashboard ping -c 3 traefik-agent

# Verify token is correct
# In Dashboard: Settings → Agents → Edit Agent → Update Token

# Force status refresh
# In Dashboard: Settings → Agents → Click refresh button

Database Locked Error

Symptoms:

  • Error: "database is locked"
  • Agent operations fail

Solutions:

bash
# Stop dashboard
docker compose stop traefik-dashboard

# Check for stale locks
ls -la data/dashboard/

# Remove lock files if present
rm data/dashboard/agents.db-shm
rm data/dashboard/agents.db-wal

# Restart dashboard
docker compose start traefik-dashboard

Additional Resources

  • Agent Documentation: ./agent/README.md
  • Dashboard Documentation: ./dashboard/README.md
  • CLI Documentation: ./cli/README.md
  • API Reference: ./docs/API.md
  • Architecture Guide: ./docs/ARCHITECTURE.md
  • Migration Guide V1→V2: ./docs/MigrationV1toV2.md

Contributing

Contributions are welcome! Please read our Contributing Guide.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE - see the LICENSE file for details.


Made with ❤️ for the Traefik community

⭐ Star this repo if you find it helpful!

https://github.com/hhftechnology/traefik-log-dashboard • *** • https://github.com/hhftechnology/traefik-log-dashboard/issues

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 traefik-log-dashboard-agent 镜像标签

docker pull docker.xuanyuan.run/hhftechnology/traefik-log-dashboard-agent:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull hhftechnology/traefik-log-dashboard-agent:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

iKuai 镜像加速

宝塔面板

一键配置镜像源

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

一键安装

一键安装 Docker

Linux Docker 一键安装

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
hhftechnology/traefik-log-dashboard-agent
教程轩辕镜像功能与使用教程
定价查看流量套餐与价格
热门查看热门 Docker 镜像推荐
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
商务合作:点击复制邮箱
用户协议·隐私政策·©2024-2026 源码跳动
用户协议·隐私政策©2024-2026 杭州源码跳动科技有限公司商务合作:点击复制邮箱

更多 traefik-log-dashboard-agent 镜像推荐

traefik logo

library/traefik

Docker 官方镜像
Traefik 是一款专为云原生环境打造的边缘路由器,作为现代 HTTP 反向代理与负载均衡器,它能自动发现服务、动态配置路由规则,无缝集成 Kubernetes、Docker 等容器编排平台,简化微服务架构下的流量管理,支持 HTTPS、TLS 加密及多种协议,为云原生应用提供高效、安全、灵活的边缘流量处理能力。
3.6千 次收藏10亿+ 次下载
18 天前更新
datadog/agent logo

datadog/agent

datadog
新Datadog Agent的Docker容器,用于运行该代理以收集、处理并发送监控数据至Datadog平台。
172 次收藏10亿+ 次下载
17 天前更新
portainer/agent logo

portainer/agent

portainer
Portainer是一款高效的容器管理平台,您可将Kubernetes容器编排平台、Docker及Podman容器引擎等主流容器环境便捷连接至该平台,实现对各类容器环境的集中化管理、可视化监控与高效运维操作,有效简化复杂容器架构的管理流程,提升容器部署、维护的效率与安全性。
292 次收藏10亿+ 次下载
25 天前更新
docker/ucp-agent logo

docker/ucp-agent

Docker 官方工具与组件镜像
暂无描述
13 次收藏5亿+ 次下载
6 年前更新
grafana/agent logo

grafana/agent

Grafana 可观测性平台
暂无描述
25 次收藏1亿+ 次下载
3 个月前更新
mirantis/ucp-agent logo

mirantis/ucp-agent

mirantis
暂无描述
1亿+ 次下载
1 个月前更新

查看更多 traefik-log-dashboard-agent 相关镜像