This commit is contained in:
mzl
2026-01-12 15:49:09 +08:00
parent 7c933f4a82
commit 7c0b8c4c09
12 changed files with 383 additions and 175 deletions
+2 -2
View File
@@ -5,13 +5,13 @@ services:
build: .
container_name: xiaohongshu-scraper
ports:
- "18085:18080" # 外部端口18081映射到容器内部18080
- "18085:18085" # 外部端口18085映射到容器内部18085
volumes:
# 持久化数据目录(采集结果、日志、登录状态)
- ./data:/app/data
environment:
- HOST=0.0.0.0
- PORT=18080
- PORT=18085
- HEADLESS=false
- SCREENSHOT_ON_ERROR=true
- MAX_THREADS=5