feat: add Google Search Console automated monitoring
- Python monitoring script for daily GSC reports - Kubernetes CronJob for automated execution - Tracks search analytics, crawl errors, and sitemap status - Includes full setup documentation
This commit is contained in:
16
scripts/gsc-monitoring/Dockerfile
Normal file
16
scripts/gsc-monitoring/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy monitoring script
|
||||
COPY monitor.py .
|
||||
|
||||
# Create log directory
|
||||
RUN mkdir -p /var/log/gsc-monitoring
|
||||
|
||||
# Run monitoring
|
||||
CMD ["python", "monitor.py"]
|
||||
Reference in New Issue
Block a user