We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9453c4d commit 511251dCopy full SHA for 511251d
1 file changed
docker-compose.yaml
@@ -31,9 +31,8 @@ services:
31
- SPIDER_ENV={} # 爬虫环境变量 值为json类型
32
# 爬虫容器启动参数,支持的参数使用 docker service create --help 查看
33
- SPIDER_RUN_ARGS={
34
- "--network":"host",
35
- "--limit-cpu":1,
36
- "--limit-memory":"1G"
+# "--limit-cpu":2,
+# "--limit-memory":"2G"
37
}
38
# git ssh 私有密钥,不填则使用默认的
39
- GIT_SSH_PRIVATE_KEY=${GIT_SSH_PRIVATE_KEY}
0 commit comments