#!/bin/bash # 查看实时日志 cd "$(dirname "$0")/.." echo "📋 查看日志 (Ctrl+C 退出)..." docker compose logs -f