ts
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user