Skip to content

Commit 511251d

Browse files
committed
爬虫worker取消host映射
1 parent 9453c4d commit 511251d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docker-compose.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ services:
3131
- SPIDER_ENV={} # 爬虫环境变量 值为json类型
3232
# 爬虫容器启动参数,支持的参数使用 docker service create --help 查看
3333
- SPIDER_RUN_ARGS={
34-
"--network":"host",
35-
"--limit-cpu":1,
36-
"--limit-memory":"1G"
34+
# "--limit-cpu":2,
35+
# "--limit-memory":"2G"
3736
}
3837
# git ssh 私有密钥,不填则使用默认的
3938
- GIT_SSH_PRIVATE_KEY=${GIT_SSH_PRIVATE_KEY}

0 commit comments

Comments
 (0)