first commit

This commit is contained in:
mzl
2026-01-12 12:04:05 +08:00
commit 8b6e431c12
17 changed files with 3358 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
version: '3.8'
services:
xiaohongshu-scraper:
build: .
container_name: xiaohongshu-scraper
ports:
- "18080:18080"
volumes:
# 持久化数据目录(采集结果、日志、登录状态)
- ./data:/app/data
environment:
- HOST=0.0.0.0
- PORT=18080
- HEADLESS=false
- SCREENSHOT_ON_ERROR=true
- MAX_THREADS=5
# Git 自动更新配置(可选)
# - ENABLE_GIT_PULL=true
# - GIT_REPO_URL=https://github.com/yourusername/xiaohongshu-scraper.git
# - GIT_BRANCH=main
# - AUTO_PULL_INTERVAL=3600
restart: unless-stopped