Skip to content

Commit

Permalink
爬虫worker取消host映射
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris-code committed Sep 1, 2021
1 parent 9453c4d commit 511251d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ services:
- SPIDER_ENV={} # 爬虫环境变量 值为json类型
# 爬虫容器启动参数,支持的参数使用 docker service create --help 查看
- SPIDER_RUN_ARGS={
"--network":"host",
"--limit-cpu":1,
"--limit-memory":"1G"
# "--limit-cpu":2,
# "--limit-memory":"2G"
}
# git ssh 私有密钥,不填则使用默认的
- GIT_SSH_PRIVATE_KEY=${GIT_SSH_PRIVATE_KEY}
Expand Down

0 comments on commit 511251d

Please sign in to comment.